public class DynamicPortalCache<K extends Serializable,V> extends Object implements PortalCache<K,V>
DEFAULT_TIME_TO_LIVE
Constructor and Description |
---|
DynamicPortalCache(PortalCacheManager<K,V> portalCacheManager,
PortalCache<K,V> portalCache,
String portalCacheName,
boolean mvcc) |
DynamicPortalCache(PortalCacheManager<K,V> portalCacheManager,
PortalCache<K,V> portalCache,
String portalCacheName,
boolean blocking,
boolean mvcc)
Deprecated.
As of Athanasius (7.3.x), replaced by
DynamicPortalCache(PortalCacheManager, PortalCache, String, boolean) |
Modifier and Type | Method and Description |
---|---|
V |
get(K key) |
List<K> |
getKeys() |
PortalCacheManager<K,V> |
getPortalCacheManager() |
String |
getPortalCacheName() |
boolean |
isBlocking()
Deprecated.
As of Athanasius (7.3.x), with no direct replacement
|
boolean |
isMVCC() |
void |
put(K key,
V value) |
void |
put(K key,
V value,
int timeToLive) |
void |
registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener) |
void |
registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener,
PortalCacheListenerScope portalCacheListenerScope) |
void |
remove(K key) |
void |
removeAll() |
protected void |
setPortalCache(PortalCache<K,V> portalCache) |
void |
unregisterPortalCacheListener(PortalCacheListener<K,V> portalCacheListener) |
void |
unregisterPortalCacheListeners() |
public DynamicPortalCache(PortalCacheManager<K,V> portalCacheManager, PortalCache<K,V> portalCache, String portalCacheName, boolean mvcc)
@Deprecated public DynamicPortalCache(PortalCacheManager<K,V> portalCacheManager, PortalCache<K,V> portalCache, String portalCacheName, boolean blocking, boolean mvcc)
DynamicPortalCache(PortalCacheManager, PortalCache, String, boolean)
public List<K> getKeys()
getKeys
in interface PortalCache<K extends Serializable,V>
public PortalCacheManager<K,V> getPortalCacheManager()
getPortalCacheManager
in interface PortalCache<K extends Serializable,V>
public String getPortalCacheName()
getPortalCacheName
in interface PortalCache<K extends Serializable,V>
@Deprecated public boolean isBlocking()
isBlocking
in interface PortalCache<K extends Serializable,V>
public boolean isMVCC()
isMVCC
in interface PortalCache<K extends Serializable,V>
public void put(K key, V value)
put
in interface PortalCache<K extends Serializable,V>
public void put(K key, V value, int timeToLive)
put
in interface PortalCache<K extends Serializable,V>
public void registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
registerPortalCacheListener
in interface PortalCache<K extends Serializable,V>
public void registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener, PortalCacheListenerScope portalCacheListenerScope)
registerPortalCacheListener
in interface PortalCache<K extends Serializable,V>
public void remove(K key)
remove
in interface PortalCache<K extends Serializable,V>
public void removeAll()
removeAll
in interface PortalCache<K extends Serializable,V>
public void unregisterPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
unregisterPortalCacheListener
in interface PortalCache<K extends Serializable,V>
public void unregisterPortalCacheListeners()
unregisterPortalCacheListeners
in interface PortalCache<K extends Serializable,V>
protected void setPortalCache(PortalCache<K,V> portalCache)