railo.runtime.cache
Class ComponentCacheEventListener
java.lang.Object
railo.runtime.cache.ComponentCacheEventListener
- All Implemented Interfaces:
- Serializable, CacheEventListener
public class ComponentCacheEventListener
- extends Object
- implements CacheEventListener
- See Also:
- Serialized Form
ComponentCacheEventListener
public ComponentCacheEventListener(Component cfc)
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