@ParametersAreNonnullByDefault public class SerializationRecordingCache<K,V> extends Object implements com.atlassian.cache.Cache<K,V>
Constructor and Description |
---|
SerializationRecordingCache(com.atlassian.cache.Cache<K,V> delegate,
SerializationRecorder recorder,
boolean includeValues) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(com.atlassian.cache.CacheEntryListener<K,V> listener,
boolean includeValues) |
boolean |
containsKey(K key) |
V |
get(K key) |
V |
get(K key,
com.atlassian.cache.Supplier<? extends V> supplier) |
Collection<K> |
getKeys() |
String |
getName() |
void |
put(K key,
V value) |
V |
putIfAbsent(K key,
V value) |
void |
remove(K key) |
boolean |
remove(K key,
V value) |
void |
removeAll() |
void |
removeListener(com.atlassian.cache.CacheEntryListener<K,V> cacheEntryListener) |
boolean |
replace(K key,
V oldValue,
V newValue) |
public SerializationRecordingCache(com.atlassian.cache.Cache<K,V> delegate, SerializationRecorder recorder, boolean includeValues)
public boolean containsKey(K key)
@Nonnull public Collection<K> getKeys()
public void removeAll()
public void addListener(com.atlassian.cache.CacheEntryListener<K,V> listener, boolean includeValues)
Copyright © 2002-2023 Atlassian. All Rights Reserved.