management
package instead@Deprecated public interface SystemMemberCacheListener
Modifier and Type | Method and Description |
---|---|
void |
afterCacheClose(SystemMemberCacheEvent event)
Deprecated.
Invoked after a cache is closed in any node of a distributed system.
|
void |
afterCacheCreate(SystemMemberCacheEvent event)
Deprecated.
Invoked after a cache is created in any node of a distributed system.
|
void |
afterRegionCreate(SystemMemberRegionEvent event)
Deprecated.
Invoked after a region is created in any node of distributed system.
|
void |
afterRegionLoss(SystemMemberRegionEvent event)
Deprecated.
Invoked when a region is destroyed or closed in any node of distributed system.
|
void afterRegionCreate(SystemMemberRegionEvent event)
event
- describes the region that was created.CacheFactory.create()
,
Cache.createRegion(java.lang.String, org.apache.geode.cache.RegionAttributes<K, V>)
,
Region.createSubregion(java.lang.String, org.apache.geode.cache.RegionAttributes<SK, SV>)
void afterRegionLoss(SystemMemberRegionEvent event)
event
- describes the region that was lost. The operation on this event can be used to
determine the actual operation that caused the loss. Note that RegionService.close()
invokes this callback with Operation.CACHE_CLOSE
for each region in the
closed cache and it invokes afterCacheClose(org.apache.geode.admin.SystemMemberCacheEvent)
.RegionService.close()
,
Region.close()
,
Region.localDestroyRegion()
,
Region.destroyRegion()
void afterCacheCreate(SystemMemberCacheEvent event)
event
- describes the member that created the cache.CacheFactory.create()
void afterCacheClose(SystemMemberCacheEvent event)
event
- describes the member that closed its cache.RegionService.close()