railo.runtime.cache
Class ComponentCacheEventListener

java.lang.Object
  extended by railo.runtime.cache.ComponentCacheEventListener
All Implemented Interfaces:
Serializable, CacheEventListener

public class ComponentCacheEventListener
extends Object
implements CacheEventListener

See Also:
Serialized Form

Constructor Summary
ComponentCacheEventListener(Component cfc)
           
 
Method Summary
 CacheEventListener duplicate()
           
 void onExpires(CacheEntry entry)
          this method is invoked before a entry expires (lifetime and idletime)
 void onPut(CacheEntry entry)
          this method is invoked before a new Entry is putted to a cache (update and insert)
 void onRemove(CacheEntry entry)
          this method is invoked before a Cache Entry is removed from Cache
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComponentCacheEventListener

public ComponentCacheEventListener(Component cfc)
Method Detail

onRemove

public void onRemove(CacheEntry entry)
Description copied from interface: CacheEventListener
this method is invoked before a Cache Entry is removed from Cache

Specified by:
onRemove in interface CacheEventListener
Parameters:
entry - entry that will be removed from Cache
See Also:
CacheEventListener.onRemove(railo.commons.io.cache.CacheEntry)

onPut

public void onPut(CacheEntry entry)
Description copied from interface: CacheEventListener
this method is invoked before a new Entry is putted to a cache (update and insert)

Specified by:
onPut in interface CacheEventListener
See Also:
CacheEventListener.onPut(railo.commons.io.cache.CacheEntry)

onExpires

public void onExpires(CacheEntry entry)
Description copied from interface: CacheEventListener
this method is invoked before a entry expires (lifetime and idletime)

Specified by:
onExpires in interface CacheEventListener
See Also:
CacheEventListener.onExpires(railo.commons.io.cache.CacheEntry)

duplicate

public CacheEventListener duplicate()
Specified by:
duplicate in interface CacheEventListener
See Also:
CacheEventListener.duplicate()


Copyright © 2012 Railo