Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » stateful » [javadoc | source]
org.apache.openejb.core.stateful
public interface: Cache.CacheListener [javadoc | source]

All Known Implementing Classes:
    StatefulCacheListener

Callback listener for cache events.
Method from org.apache.openejb.core.stateful.Cache$CacheListener Summary:
afterLoad,   beforeStore,   timedOut
Method from org.apache.openejb.core.stateful.Cache$CacheListener Detail:
 public  void afterLoad(V value) throws Exception
    Called after an entry is loaded from a store.
 public  void beforeStore(V value) throws Exception
    Called before an entry is written to a store.
 public  void timedOut(V value)
    Called when an instance has been removed from the cache due to a time-out.