@ParametersAreNonnullByDefault public class SerializationCheckedCache<K,V> extends Object implements com.atlassian.cache.Cache<K,V>
Constructor and Description |
---|
SerializationCheckedCache(SerializationChecker checker,
com.atlassian.cache.Cache<K,V> delegate) |
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 SerializationCheckedCache(SerializationChecker checker, com.atlassian.cache.Cache<K,V> delegate)
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-2019 Atlassian. All Rights Reserved.