| java.lang.Object org.jivesoftware.util.cache.CacheWrapper
CacheWrapper | public class CacheWrapper implements Cache<K, V>(Code) | | Acts as a proxy for a Cache implementation. The Cache implementation can be switched on the fly,
which enables users to hold a reference to a CacheWrapper object, but for the underlying
Cache implementation to switch from clustered to local, etc.
|
CacheWrapper | public CacheWrapper(Cache<K, V> cache)(Code) | | |
clear | public void clear()(Code) | | |
containsValue | public boolean containsValue(Object value)(Code) | | |
getCacheHits | public long getCacheHits()(Code) | | |
getCacheMisses | public long getCacheMisses()(Code) | | |
getCacheSize | public int getCacheSize()(Code) | | |
getMaxCacheSize | public long getMaxCacheSize()(Code) | | |
getMaxLifetime | public long getMaxLifetime()(Code) | | |
getWrappedCache | public Cache<K, V> getWrappedCache()(Code) | | |
isEmpty | public boolean isEmpty()(Code) | | |
put | public V put(K key, V value)(Code) | | |
putAll | public void putAll(Map<? extends K, ? extends V> t)(Code) | | |
setMaxCacheSize | public void setMaxCacheSize(int maxSize)(Code) | | |
setMaxLifetime | public void setMaxLifetime(long maxLifetime)(Code) | | |
setWrappedCache | public void setWrappedCache(Cache<K, V> cache)(Code) | | |
|
|