Class LoggingCacheListener
java.lang.Object
org.exoplatform.services.cache.impl.LoggingCacheListener
- All Implemented Interfaces:
CacheListener
Created by The eXo Platform SAS
Author : eXoPlatform
exo@exoplatform.com
Oct 4, 2008
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonClearCache(CacheListenerContext context) The cache is globally cleared.voidonExpire(CacheListenerContext context, Serializable key, Object obj) An entry is expired from the cache.voidonGet(CacheListenerContext context, Serializable key, Object obj) An entry is retrieved from the cache.voidonPut(CacheListenerContext context, Serializable key, Object obj) An entry is inserted in the cache.voidonRemove(CacheListenerContext context, Serializable key, Object obj) An entry is removed from the cache.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.exoplatform.services.cache.CacheListener
onPutLocal
-
Constructor Details
-
LoggingCacheListener
public LoggingCacheListener()
-
-
Method Details
-
onClearCache
Description copied from interface:CacheListenerThe cache is globally cleared.- Specified by:
onClearCachein interfaceCacheListener- Parameters:
context- the listener context- Throws:
Exception- any exception
-
onExpire
Description copied from interface:CacheListenerAn entry is expired from the cache.- Specified by:
onExpirein interfaceCacheListener- Parameters:
context- the listener contextkey- the entry keyobj- the entry value- Throws:
Exception- any exception
-
onGet
Description copied from interface:CacheListenerAn entry is retrieved from the cache.- Specified by:
onGetin interfaceCacheListener- Parameters:
context- the listener contextkey- the entry keyobj- the entry value- Throws:
Exception- any exception
-
onPut
Description copied from interface:CacheListenerAn entry is inserted in the cache.- Specified by:
onPutin interfaceCacheListener- Parameters:
context- the listener contextkey- the entry keyobj- the entry value- Throws:
Exception- any exception
-
onRemove
Description copied from interface:CacheListenerAn entry is removed from the cache.- Specified by:
onRemovein interfaceCacheListener- Parameters:
context- the listener contextkey- the entry keyobj- the entry value- Throws:
Exception- any exception
-