Code example for Cache

Methods: invalidateAll

0
    } 
 
    @Override 
    public void clear() 
    { 
        cache.invalidateAll();
    } 
 
    @Override 
    public String toString()
    { 
        return "DefaultSimpleCache[maxItems=" + maxItems + ", useMaxItems=" + useMaxItems + ", cacheName=" + cacheName + "]";
    } 
     
    /** 
     * Gets the maximum number of items that the cache will hold. 
     *  
     * @return maxItems 
     */ 
    public int getMaxItems() 
Experience pair programming with AI  Get Codota for Java