public class KillBillCacheController<K,V> extends java.lang.Object implements CacheController<K,V>
| Constructor and Description |
|---|
KillBillCacheController(javax.cache.Cache<K,V> cache,
BaseCacheLoader<K,V> baseCacheLoader) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key,
CacheLoaderArgument cacheLoaderArgument) |
Cachable.CacheType |
getCacheType() |
java.util.List<K> |
getKeys() |
boolean |
isKeyInCache(K key) |
void |
putIfAbsent(K key,
V value) |
void |
remove(com.google.common.base.Function<K,java.lang.Boolean> keyMatcher) |
boolean |
remove(K key) |
void |
removeAll() |
int |
size() |
public KillBillCacheController(javax.cache.Cache<K,V> cache, BaseCacheLoader<K,V> baseCacheLoader)
public java.util.List<K> getKeys()
getKeys in interface CacheController<K,V>public boolean isKeyInCache(K key)
isKeyInCache in interface CacheController<K,V>public V get(K key, CacheLoaderArgument cacheLoaderArgument)
get in interface CacheController<K,V>public void putIfAbsent(K key, V value)
putIfAbsent in interface CacheController<K,V>public boolean remove(K key)
remove in interface CacheController<K,V>public void remove(com.google.common.base.Function<K,java.lang.Boolean> keyMatcher)
remove in interface CacheController<K,V>public void removeAll()
removeAll in interface CacheController<K,V>public int size()
size in interface CacheController<K,V>public Cachable.CacheType getCacheType()
getCacheType in interface CacheController<K,V>Copyright © 2010-2020. All Rights Reserved.