Code example for ConcurrentMap

Methods: size

    public Set<Entry<KeyT, ValT>> entrySet() {
        return cache.entrySet();
    public synchronized int size() { 
        return cache.size();
    public synchronized boolean isEmpty() { 
        return cache.isEmpty();
    public boolean isDiskCacheEnabled() { 
        return isDiskCacheEnabled;
     * @param rootDir 
     *            a folder name to enable caching or null to disable it. 
Stop searching for code, let great code find you!  Add Codota to your java IDE