public class RegionConfigurationCacheListener extends CacheListenerAdapter<String,RegionConfiguration> implements Declarable
Modifier and Type | Method and Description |
---|---|
void |
afterCreate(EntryEvent<String,RegionConfiguration> event)
Handles the event of new key being added to a region.
|
void |
afterRegionCreate(RegionEvent<String,RegionConfiguration> event)
Handles the event of a region being created.
|
void |
afterUpdate(EntryEvent<String,RegionConfiguration> event)
Handles the event of an entry's value being modified in a region.
|
afterDestroy, afterInvalidate, afterRegionClear, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
init, initialize
public void afterCreate(EntryEvent<String,RegionConfiguration> event)
CacheListener
afterCreate
in interface CacheListener<String,RegionConfiguration>
afterCreate
in class CacheListenerAdapter<String,RegionConfiguration>
event
- the EntryEventRegion.create(Object, Object)
,
Region.put(Object, Object)
,
Region.get(Object)
public void afterUpdate(EntryEvent<String,RegionConfiguration> event)
CacheListener
afterUpdate
in interface CacheListener<String,RegionConfiguration>
afterUpdate
in class CacheListenerAdapter<String,RegionConfiguration>
event
- the EntryEventRegion.put(Object, Object)
public void afterRegionCreate(RegionEvent<String,RegionConfiguration> event)
CacheListener
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>)
.
afterRegionCreate
in interface CacheListener<String,RegionConfiguration>
afterRegionCreate
in class CacheListenerAdapter<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>)