public class StatefulContainer.StatefulCacheListener extends java.lang.Object implements Cache.CacheListener<Instance>
Constructor and Description |
---|
StatefulCacheListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterLoad(Instance instance)
Called after an entry is loaded from a store.
|
void |
beforeStore(Instance instance)
Called before an entry is written to a store.
|
void |
timedOut(Instance instance)
Called when an instance has been removed from the cache due to a
time-out.
|
public void afterLoad(Instance instance) throws SystemException, ApplicationException
Cache.CacheListener
afterLoad
in interface Cache.CacheListener<Instance>
SystemException
ApplicationException
public void beforeStore(Instance instance)
Cache.CacheListener
beforeStore
in interface Cache.CacheListener<Instance>
public void timedOut(Instance instance)
Cache.CacheListener
timedOut
in interface Cache.CacheListener<Instance>