Package org.jivesoftware.util.cache
Class ComponentCacheWrapper<K extends Serializable,V extends Serializable>
- java.lang.Object
-
- org.jivesoftware.util.cache.CacheWrapper<K,V>
-
- org.jivesoftware.util.cache.ComponentCacheWrapper<K,V>
-
public class ComponentCacheWrapper<K extends Serializable,V extends Serializable> extends CacheWrapper<K,V>
This specialized wrapper is used for the Components cache, which should not be purged. See OF-114 for more info.
-
-
Field Summary
-
Fields inherited from interface org.jivesoftware.util.cache.Cache
secretKey, secretValue
-
-
Constructor Summary
Constructors Constructor Description ComponentCacheWrapper(Cache<K,V> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
-
Methods inherited from class org.jivesoftware.util.cache.CacheWrapper
addClusteredCacheEntryListener, containsKey, containsValue, entrySet, get, getCacheHits, getCacheMisses, getCacheSizeRemark, getCapacityUnit, getLongCacheSize, getMaxCacheSize, getMaxCacheSizeRemark, getMaxLifetime, getName, getWrappedCache, isEmpty, keySet, put, putAll, remove, removeClusteredCacheEntryListener, setMaxCacheSize, setMaxLifetime, setName, size, values
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.util.cache.Cache
getLock, isKeySecret, isValueSecret, setSecretKey, setSecretValue
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
clear
public void clear()
- Specified by:
clear
in interfaceMap<K extends Serializable,V extends Serializable>
- Overrides:
clear
in classCacheWrapper<K extends Serializable,V extends Serializable>
-
-