Spring Boot for VMware GemFire
Package org.springframework.geode.cache
Class AbstractCommonEventProcessingCacheListener<K,V>
java.lang.Object
org.apache.geode.cache.util.CacheListenerAdapter<K,V>
org.springframework.geode.cache.AbstractCommonEventProcessingCacheListener<K,V>
- All Implemented Interfaces:
org.apache.geode.cache.CacheCallback,org.apache.geode.cache.CacheListener<K,,V> org.apache.geode.cache.Declarable
public abstract class AbstractCommonEventProcessingCacheListener<K,V>
extends org.apache.geode.cache.util.CacheListenerAdapter<K,V>
An
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.- Since:
- 1.1.0
- See Also:
-
CacheListenerEntryEventRegionEventCacheListenerAdapter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCreate(org.apache.geode.cache.EntryEvent<K, V> event) voidafterDestroy(org.apache.geode.cache.EntryEvent<K, V> event) voidafterInvalidate(org.apache.geode.cache.EntryEvent<K, V> event) voidafterRegionClear(org.apache.geode.cache.RegionEvent<K, V> event) voidafterRegionCreate(org.apache.geode.cache.RegionEvent<K, V> event) voidafterRegionDestroy(org.apache.geode.cache.RegionEvent<K, V> event) voidafterRegionInvalidate(org.apache.geode.cache.RegionEvent<K, V> event) voidafterRegionLive(org.apache.geode.cache.RegionEvent<K, V> event) voidafterUpdate(org.apache.geode.cache.EntryEvent<K, V> event) protected voidprocessEntryEvent(org.apache.geode.cache.EntryEvent<K, V> event, AbstractCommonEventProcessingCacheListener.EntryEventType eventType) protected voidprocessRegionEvent(org.apache.geode.cache.RegionEvent<K, V> event, AbstractCommonEventProcessingCacheListener.RegionEventType eventType) Methods inherited from class org.apache.geode.cache.util.CacheListenerAdapter
closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.cache.Declarable
init, initialize
-
Constructor Details
-
AbstractCommonEventProcessingCacheListener
public AbstractCommonEventProcessingCacheListener()
-
-
Method Details
-
afterCreate
-
afterDestroy
-
afterInvalidate
-
afterUpdate
-
processEntryEvent
protected void processEntryEvent(org.apache.geode.cache.EntryEvent<K, V> event, AbstractCommonEventProcessingCacheListener.EntryEventType eventType) -
afterRegionClear
-
afterRegionCreate
-
afterRegionDestroy
-
afterRegionInvalidate
-
afterRegionLive
-
processRegionEvent
protected void processRegionEvent(org.apache.geode.cache.RegionEvent<K, V> event, AbstractCommonEventProcessingCacheListener.RegionEventType eventType)
-