public class RegionConfigurationCacheListener extends CacheListenerAdapter<java.lang.String,RegionConfiguration> implements Declarable
| Constructor and Description |
|---|
RegionConfigurationCacheListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterCreate(EntryEvent<java.lang.String,RegionConfiguration> event)
Handles the event of new key being added to a region.
|
void |
afterRegionCreate(RegionEvent<java.lang.String,RegionConfiguration> event)
Handles the event of a region being created.
|
void |
afterUpdate(EntryEvent<java.lang.String,RegionConfiguration> event)
Handles the event of an entry's value being modified in a region.
|
void |
init(java.util.Properties p)
Initializes a user-defined object using the given properties.
|
afterDestroy, afterInvalidate, afterRegionClear, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, closepublic void afterCreate(EntryEvent<java.lang.String,RegionConfiguration> event)
CacheListenerafterCreate in interface CacheListener<java.lang.String,RegionConfiguration>afterCreate in class CacheListenerAdapter<java.lang.String,RegionConfiguration>event - the EntryEventRegion.create(Object, Object),
Region.put(Object, Object),
Region.get(Object)public void afterUpdate(EntryEvent<java.lang.String,RegionConfiguration> event)
CacheListenerafterUpdate in interface CacheListener<java.lang.String,RegionConfiguration>afterUpdate in class CacheListenerAdapter<java.lang.String,RegionConfiguration>event - the EntryEventRegion.put(Object, Object)public void afterRegionCreate(RegionEvent<java.lang.String,RegionConfiguration> event)
CacheListenerNote 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>).
afterRegionCreate in interface CacheListener<java.lang.String,RegionConfiguration>afterRegionCreate in class CacheListenerAdapter<java.lang.String,RegionConfiguration>event - the RegionEventCache.createRegion(java.lang.String, org.apache.geode.cache.RegionAttributes<K, V>),
Region.createSubregion(java.lang.String, org.apache.geode.cache.RegionAttributes<SK, SV>)public void init(java.util.Properties p)
DeclarableCache initialization to fail.init in interface Declarablep - Contains the parameters declared in the declarative xml
file.