public class DebugCacheListener extends CacheListenerAdapter implements Declarable
Constructor and Description |
---|
DebugCacheListener() |
Modifier and Type | Method and Description |
---|---|
void |
afterCreate(EntryEvent event)
Handles the event of new key being added to a region.
|
void |
afterDestroy(EntryEvent event)
Handles the event of an entry being destroyed.
|
void |
afterInvalidate(EntryEvent event)
Handles the event of an entry's value being invalidated.
|
void |
afterUpdate(EntryEvent event)
Handles the event of an entry's value being modified in a region.
|
boolean |
equals(Object obj) |
int |
hashCode() |
afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, close
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
init, initialize
public void afterCreate(EntryEvent event)
CacheListener
afterCreate
in interface CacheListener
afterCreate
in class CacheListenerAdapter
event
- the EntryEventRegion.create(Object, Object)
,
Region.put(Object, Object)
,
Region.get(Object)
public void afterUpdate(EntryEvent event)
CacheListener
afterUpdate
in interface CacheListener
afterUpdate
in class CacheListenerAdapter
event
- the EntryEventRegion.put(Object, Object)
public void afterInvalidate(EntryEvent event)
CacheListener
afterInvalidate
in interface CacheListener
afterInvalidate
in class CacheListenerAdapter
event
- the EntryEventRegion.invalidate(Object)
public void afterDestroy(EntryEvent event)
CacheListener
afterDestroy
in interface CacheListener
afterDestroy
in class CacheListenerAdapter
event
- the EntryEventRegion.destroy(Object)