public class ListenerContext<K,V> extends Object implements CacheListenerContext, CacheInfo
| Constructor and Description |
|---|
ListenerContext(CacheListener<? super K,? super V> listener,
ConcurrentFIFOExoCache cache) |
| Modifier and Type | Method and Description |
|---|---|
CacheInfo |
getCacheInfo()
Returns cache infos.
|
long |
getLiveTime()
Returns the cache entry life time in seconds.
|
int |
getMaxSize()
Returns the cache max size.
|
String |
getName()
Returns the cache name.
|
int |
getSize()
Returns the cache size.
|
public ListenerContext(CacheListener<? super K,? super V> listener, ConcurrentFIFOExoCache cache)
public CacheInfo getCacheInfo()
CacheListenerContextgetCacheInfo in interface CacheListenerContextpublic String getName()
CacheInfopublic int getMaxSize()
CacheInfogetMaxSize in interface CacheInfopublic long getLiveTime()
CacheInfogetLiveTime in interface CacheInfoCopyright © 2018 eXo Platform SAS. All Rights Reserved.