public interface PortalCache<K extends Serializable,V>
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_TIME_TO_LIVE |
Modifier and Type | Method and Description |
---|---|
V |
get(K key) |
List<K> |
getKeys() |
String |
getName()
Deprecated.
As of Wilberforce (7.0.x), replaced by
getPortalCacheName() |
PortalCacheManager<K,V> |
getPortalCacheManager() |
String |
getPortalCacheName() |
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() |
void |
unregisterPortalCacheListener(PortalCacheListener<K,V> portalCacheListener) |
void |
unregisterPortalCacheListeners() |
static final int DEFAULT_TIME_TO_LIVE
List<K> getKeys()
@Deprecated String getName()
getPortalCacheName()
PortalCacheManager<K,V> getPortalCacheManager()
String getPortalCacheName()
void registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
void registerPortalCacheListener(PortalCacheListener<K,V> portalCacheListener, PortalCacheListenerScope portalCacheListenerScope)
void remove(K key)
void removeAll()
void unregisterPortalCacheListener(PortalCacheListener<K,V> portalCacheListener)
void unregisterPortalCacheListeners()