Package org.apache.geode.modules.util
Class RegionConfigurationCacheListener
java.lang.Object
org.apache.geode.cache.util.CacheListenerAdapter<String,RegionConfiguration>
org.apache.geode.modules.util.RegionConfigurationCacheListener
- All Implemented Interfaces:
CacheCallback,CacheListener<String,,RegionConfiguration> Declarable
public class RegionConfigurationCacheListener
extends CacheListenerAdapter<String,RegionConfiguration>
implements Declarable
-
Method Summary
Modifier and TypeMethodDescriptionvoidHandles the event of new key being added to a region.voidHandles the event of a region being created.voidHandles the event of an entry's value being modified in a region.Methods inherited from class org.apache.geode.cache.util.CacheListenerAdapter
afterDestroy, afterInvalidate, afterRegionClear, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, 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
-
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<String,RegionConfiguration> - Overrides:
afterCreatein classCacheListenerAdapter<String,RegionConfiguration> - 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<String,RegionConfiguration> - Overrides:
afterUpdatein classCacheListenerAdapter<String,RegionConfiguration> - Parameters:
event- the EntryEvent- See Also:
-
afterRegionCreate
Description copied from interface:CacheListenerHandles the event of a region being created. Events are invoked for each individual region that is created.Note that this method is only called for creates done in the local vm. To be notified of creates done in remote vms use
RegionMembershipListener.afterRemoteRegionCreate(org.apache.geode.cache.RegionEvent<K, V>).- Specified by:
afterRegionCreatein interfaceCacheListener<String,RegionConfiguration> - Overrides:
afterRegionCreatein classCacheListenerAdapter<String,RegionConfiguration> - Parameters:
event- the RegionEvent- See Also:
-