Code example for ConcurrentMap

Methods: isEmpty

0
    } 
 
    @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. 
     * 
     * @return the list of files on disk 
     */ 
    public List<File> getCachedFiles()
    {