org.exoplatform.services.cache
Interface CacheListener

All Known Implementing Classes:
DistributedCacheListener, LoggingCacheListener

public interface CacheListener

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


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)
           
 

Method Detail

onExpire

void onExpire(ExoCache cache,
              java.io.Serializable key,
              java.lang.Object obj)
              throws java.lang.Exception
Throws:
java.lang.Exception

onRemove

void onRemove(ExoCache cache,
              java.io.Serializable key,
              java.lang.Object obj)
              throws java.lang.Exception
Throws:
java.lang.Exception

onPut

void onPut(ExoCache cache,
           java.io.Serializable key,
           java.lang.Object obj)
           throws java.lang.Exception
Throws:
java.lang.Exception

onGet

void onGet(ExoCache cache,
           java.io.Serializable key,
           java.lang.Object obj)
           throws java.lang.Exception
Throws:
java.lang.Exception

onClearCache

void onClearCache(ExoCache cache)
                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.