public abstract class AbstractDistributedCache extends AbstractBaseCache
DEFAULT_DEBUG, DEFAULT_NAME, DEFAULT_TYPE, PARAM_DEBUG, PARAM_NAME, PARAM_TYPE
Constructor and Description |
---|
AbstractDistributedCache() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<Object,Object>> |
entrySet() |
Object |
get(Object key) |
protected Map<Object,Object> |
getCache()
Get the cache instance.
|
boolean |
isEmpty() |
Set<Object> |
keySet() |
Object |
put(Object key,
Object value) |
void |
putAll(Map<? extends Object,? extends Object> map) |
Object |
remove(Object key) |
protected void |
setCache(Map<Object,Object> cache)
Set the cache instance.
|
int |
size() |
Collection<Object> |
values() |
close, expire, expireAll, getName, initialize, invokeMethod, invokeStaticMethod
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
protected final Map<Object,Object> getCache()
protected final void setCache(Map<Object,Object> cache)
cache
- The cache instance.public final int size()
public final boolean isEmpty()
public final boolean containsKey(Object key)
public final boolean containsValue(Object value)
public final void clear()
public final Collection<Object> values()
Copyright © 2016. All rights reserved.