Class SerializationRecordingCache<K,V>
java.lang.Object
com.atlassian.jira.cache.serialcheck.SerializationRecordingCache<K,V>
- All Implemented Interfaces:
com.atlassian.cache.Cache<K,,V> com.atlassian.cache.ReadThroughCache<K,V>
@ParametersAreNonnullByDefault
public class SerializationRecordingCache<K,V>
extends Object
implements com.atlassian.cache.Cache<K,V>
Decorator that records keys and optionally values to file.
- Since:
- v7.4.0
-
Constructor Summary
ConstructorsConstructorDescriptionSerializationRecordingCache(com.atlassian.cache.Cache<K, V> delegate, SerializationRecorder recorder, boolean includeValues) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(com.atlassian.cache.CacheEntryListener<K, V> listener, boolean includeValues) booleancontainsKey(K key) getKeys()getName()voidputIfAbsent(K key, V value) voidbooleanvoidvoidremoveListener(com.atlassian.cache.CacheEntryListener<K, V> cacheEntryListener) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.cache.ReadThroughCache
getBulk
-
Constructor Details
-
SerializationRecordingCache
public SerializationRecordingCache(com.atlassian.cache.Cache<K, V> delegate, SerializationRecorder recorder, boolean includeValues)
-
-
Method Details
-
getName
-
containsKey
-
getKeys
-
get
-
get
-
put
-
putIfAbsent
-
remove
-
remove
-
removeAll
public void removeAll() -
replace
-
addListener
-
removeListener
-