Code example for ConcurrentMap

Methods: containsValue

0
    /** 
     * Checks if the given value is currently held in memory. For performance reasons, this method 
     * does NOT probe the disk cache. 
     */ 
    public synchronized boolean containsValue(Object value) {
        return cache.containsValue(value);
    } 
     
    /** 
     * Removes an entry from memory. Removes from disk only if disk cache enabled 
     * and synchronous. 
     *  
     * @see AbstractCache#remove(Object, boolean) 
     */ 
    public synchronized ValT remove(Object key) {
    	return remove(key, false);
    } 
 
    /** 
     * Removes an entry from both memory and disk. 
     */