java.util.Map<java.lang.Object,java.lang.Object>
, Cache
CoherenceCache
, FKCache
, GigaspacesCache
, JCache
public abstract class AbstractDistributedCache extends AbstractBaseCache
DEFAULT_DEBUG, DEFAULT_NAME, DEFAULT_TYPE, PARAM_DEBUG, PARAM_NAME, PARAM_TYPE
Constructor | Description |
---|---|
AbstractDistributedCache() |
Modifier and Type | Method | Description |
---|---|---|
void |
clear() |
|
boolean |
containsKey(java.lang.Object key) |
|
boolean |
containsValue(java.lang.Object value) |
|
java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> |
entrySet() |
|
java.lang.Object |
get(java.lang.Object key) |
|
protected java.util.Map<java.lang.Object,java.lang.Object> |
getCache() |
Get the cache instance.
|
boolean |
isEmpty() |
|
java.util.Set<java.lang.Object> |
keySet() |
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
|
void |
putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map) |
|
java.lang.Object |
remove(java.lang.Object key) |
|
protected void |
setCache(java.util.Map<java.lang.Object,java.lang.Object> cache) |
Set the cache instance.
|
int |
size() |
|
java.util.Collection<java.lang.Object> |
values() |
close, expire, expireAll, getName, initialize, invokeMethod, invokeStaticMethod
protected final java.util.Map<java.lang.Object,java.lang.Object> getCache()
protected final void setCache(java.util.Map<java.lang.Object,java.lang.Object> cache)
cache
- The cache instance.public final int size()
public final boolean isEmpty()
public final boolean containsKey(java.lang.Object key)
public final boolean containsValue(java.lang.Object value)
public final java.lang.Object get(java.lang.Object key)
public final java.lang.Object put(java.lang.Object key, java.lang.Object value)
public final java.lang.Object remove(java.lang.Object key)
public final void putAll(java.util.Map<? extends java.lang.Object,? extends java.lang.Object> map)
public final void clear()
public final java.util.Set<java.lang.Object> keySet()
public final java.util.Collection<java.lang.Object> values()
public final java.util.Set<java.util.Map.Entry<java.lang.Object,java.lang.Object>> entrySet()
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com