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.CacheListenerafterLoad in interface Cache.CacheListener<Instance>SystemExceptionApplicationExceptionpublic void beforeStore(Instance instance)
Cache.CacheListenerbeforeStore in interface Cache.CacheListener<Instance>public void timedOut(Instance instance)
Cache.CacheListenertimedOut in interface Cache.CacheListener<Instance>