public class TransactionalPortalCache<K extends java.io.Serializable,V> extends PortalCacheWrapper<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected static java.io.Serializable |
NULL_HOLDER |
portalCacheDEFAULT_TIME_TO_LIVE| Constructor and Description |
|---|
TransactionalPortalCache(PortalCache<K,V> portalCache) |
| Modifier and Type | Method and Description |
|---|---|
V |
get(K key) |
void |
put(K key,
V value) |
void |
put(K key,
V value,
int timeToLive) |
void |
remove(K key) |
void |
removeAll() |
getKeys, getName, getPortalCacheManager, getPortalCacheName, getWrappedPortalCache, registerPortalCacheListener, registerPortalCacheListener, setPortalCache, unregisterPortalCacheListener, unregisterPortalCacheListenerspublic TransactionalPortalCache(PortalCache<K,V> portalCache)
public V get(K key)
get in interface PortalCache<K extends java.io.Serializable,V>get in class PortalCacheWrapper<K extends java.io.Serializable,V>public void put(K key, V value)
put in interface PortalCache<K extends java.io.Serializable,V>put in class PortalCacheWrapper<K extends java.io.Serializable,V>public void put(K key, V value, int timeToLive)
put in interface PortalCache<K extends java.io.Serializable,V>put in class PortalCacheWrapper<K extends java.io.Serializable,V>public void remove(K key)
remove in interface PortalCache<K extends java.io.Serializable,V>remove in class PortalCacheWrapper<K extends java.io.Serializable,V>public void removeAll()
removeAll in interface PortalCache<K extends java.io.Serializable,V>removeAll in class PortalCacheWrapper<K extends java.io.Serializable,V>