Package org.apache.geode.modules.util
Class DebugCacheListener
java.lang.Object
org.apache.geode.cache.util.CacheListenerAdapter
org.apache.geode.modules.util.DebugCacheListener
- All Implemented Interfaces:
CacheCallback,CacheListener,Declarable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCreate(EntryEvent event) Handles the event of new key being added to a region.voidafterDestroy(EntryEvent event) Handles the event of an entry being destroyed.voidafterInvalidate(EntryEvent event) Handles the event of an entry's value being invalidated.voidafterUpdate(EntryEvent event) Handles the event of an entry's value being modified in a region.booleaninthashCode()Methods inherited from class org.apache.geode.cache.util.CacheListenerAdapter
afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, closeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.cache.Declarable
init, initialize
-
Constructor Details
-
DebugCacheListener
public DebugCacheListener()
-
-
Method Details
-
afterCreate
Description copied from interface:CacheListenerHandles the event of new key being added to a region. The entry did not previously exist in this region in the local cache (even with a null value).- Specified by:
afterCreatein interfaceCacheListener- Overrides:
afterCreatein classCacheListenerAdapter- Parameters:
event- the EntryEvent- See Also:
-
afterUpdate
Description copied from interface:CacheListenerHandles the event of an entry's value being modified in a region. This entry previously existed in this region in the local cache, but its previous value may have been null.- Specified by:
afterUpdatein interfaceCacheListener- Overrides:
afterUpdatein classCacheListenerAdapter- Parameters:
event- the EntryEvent- See Also:
-
afterInvalidate
Description copied from interface:CacheListenerHandles the event of an entry's value being invalidated.- Specified by:
afterInvalidatein interfaceCacheListener- Overrides:
afterInvalidatein classCacheListenerAdapter- Parameters:
event- the EntryEvent- See Also:
-
afterDestroy
Description copied from interface:CacheListenerHandles the event of an entry being destroyed.- Specified by:
afterDestroyin interfaceCacheListener- Overrides:
afterDestroyin classCacheListenerAdapter- Parameters:
event- the EntryEvent- See Also:
-
equals
-
hashCode
public int hashCode()
-