Code example for ConcurrentMap

Methods: size

0
        return cache.entrySet();
    } 
 
    @Override 
    public synchronized int size() { 
        return cache.size();
    } 
 
    @Override 
    public synchronized boolean isEmpty() { 
        return cache.isEmpty();
    } 
 
    public boolean isDiskCacheEnabled() { 
        return isDiskCacheEnabled;
    } 
 
    /** 
     * Retrieves the list of files that are currently cached to disk. Guarantees to never return 
     * null. 
     *