org.exoplatform.services.cache.impl
Class DistributedCacheListener

java.lang.Object
  extended by org.exoplatform.container.component.BaseComponentPlugin
      extended by org.exoplatform.services.cache.impl.DistributedCacheListener
All Implemented Interfaces:
ComponentPlugin, CacheListener

public class DistributedCacheListener
extends BaseComponentPlugin
implements CacheListener

Created by The eXo Platform SAS Author : Tuan Nguyen tuan08@users.sourceforge.net Sep 19, 2005


Field Summary
 
Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name
 
Constructor Summary
DistributedCacheListener(CommunicationService communicationService)
           
 
Method Summary
 void onClearCache(ExoCache cache)
           
 void onExpire(ExoCache cache, java.io.Serializable key, java.lang.Object obj)
           
 void onGet(ExoCache cache, java.io.Serializable key, java.lang.Object obj)
           
 void onPut(ExoCache cache, java.io.Serializable key, java.lang.Object obj)
           
 void onRemove(ExoCache cache, java.io.Serializable key, java.lang.Object obj)
           
 
Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistributedCacheListener

public DistributedCacheListener(CommunicationService communicationService)
Method Detail

onExpire

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

onRemove

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

onPut

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

onGet

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

onClearCache

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


Copyright © 2011 eXo Platform SAS. All Rights Reserved.