public abstract class AbstractCommonEventProcessingCacheListener<K,V>
extends org.apache.geode.cache.util.CacheListenerAdapter<K,V>
abstract base class implementing the Apache Geode CacheListener interface
by extending the CacheListenerAdapter base class, which processes all EntryEvents
and RegionEvents using the same logic.CacheListener,
EntryEvent,
RegionEvent,
CacheListenerAdapter| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractCommonEventProcessingCacheListener.EntryEventType |
static class |
AbstractCommonEventProcessingCacheListener.RegionEventType |
| Constructor and Description |
|---|
AbstractCommonEventProcessingCacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate(org.apache.geode.cache.EntryEvent<K,V> event) |
void |
afterDestroy(org.apache.geode.cache.EntryEvent<K,V> event) |
void |
afterInvalidate(org.apache.geode.cache.EntryEvent<K,V> event) |
void |
afterRegionClear(org.apache.geode.cache.RegionEvent<K,V> event) |
void |
afterRegionCreate(org.apache.geode.cache.RegionEvent<K,V> event) |
void |
afterRegionDestroy(org.apache.geode.cache.RegionEvent<K,V> event) |
void |
afterRegionInvalidate(org.apache.geode.cache.RegionEvent<K,V> event) |
void |
afterRegionLive(org.apache.geode.cache.RegionEvent<K,V> event) |
void |
afterUpdate(org.apache.geode.cache.EntryEvent<K,V> event) |
protected void |
processEntryEvent(org.apache.geode.cache.EntryEvent<K,V> event,
AbstractCommonEventProcessingCacheListener.EntryEventType eventType) |
protected void |
processRegionEvent(org.apache.geode.cache.RegionEvent<K,V> event,
AbstractCommonEventProcessingCacheListener.RegionEventType eventType) |
public AbstractCommonEventProcessingCacheListener()
protected void processEntryEvent(org.apache.geode.cache.EntryEvent<K,V> event, AbstractCommonEventProcessingCacheListener.EntryEventType eventType)
public void afterRegionInvalidate(org.apache.geode.cache.RegionEvent<K,V> event)
protected void processRegionEvent(org.apache.geode.cache.RegionEvent<K,V> event, AbstractCommonEventProcessingCacheListener.RegionEventType eventType)