org.exoplatform.services.cache.impl
Class LoggingCacheListener

java.lang.Object
  extended by org.exoplatform.services.cache.impl.LoggingCacheListener
All Implemented Interfaces:
CacheListener

public class LoggingCacheListener
extends Object
implements CacheListener

Created by The eXo Platform SAS Author : eXoPlatform exo@exoplatform.com Oct 4, 2008


Constructor Summary
LoggingCacheListener()
           
 
Method Summary
 void onClearCache(ExoCache cache)
           
 void onExpire(ExoCache cache, Serializable key, Object obj)
           
 void onGet(ExoCache cache, Serializable key, Object obj)
           
 void onPut(ExoCache cache, Serializable key, Object obj)
           
 void onRemove(ExoCache cache, Serializable key, Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggingCacheListener

public LoggingCacheListener()
Method Detail

onClearCache

public void onClearCache(ExoCache cache)
                  throws Exception
Specified by:
onClearCache in interface CacheListener
Throws:
Exception

onExpire

public void onExpire(ExoCache cache,
                     Serializable key,
                     Object obj)
              throws Exception
Specified by:
onExpire in interface CacheListener
Throws:
Exception

onGet

public void onGet(ExoCache cache,
                  Serializable key,
                  Object obj)
           throws Exception
Specified by:
onGet in interface CacheListener
Throws:
Exception

onPut

public void onPut(ExoCache cache,
                  Serializable key,
                  Object obj)
           throws Exception
Specified by:
onPut in interface CacheListener
Throws:
Exception

onRemove

public void onRemove(ExoCache cache,
                     Serializable key,
                     Object obj)
              throws Exception
Specified by:
onRemove in interface CacheListener
Throws:
Exception


Copyright © 2009 eXo Platform SAS. All Rights Reserved.