Code example for ConcurrentMap

Methods: size

0
    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. 
     */