|
GemFire 6.6.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SystemMemberCacheListener
A listener whose callback methods can be used to track the lifecycle of
caches
and regions
in the GemFire distributed system.
AdminDistributedSystem.addCacheListener(com.gemstone.gemfire.admin.SystemMemberCacheListener)
,
AdminDistributedSystem.removeCacheListener(com.gemstone.gemfire.admin.SystemMemberCacheListener)
Method Summary | |
---|---|
void |
afterCacheClose(SystemMemberCacheEvent event)
Invoked after a cache is closed in any node of a distributed system. |
void |
afterCacheCreate(SystemMemberCacheEvent event)
Invoked after a cache is created in any node of a distributed system. |
void |
afterRegionCreate(SystemMemberRegionEvent event)
Invoked after a region is created in any node of distributed system. |
void |
afterRegionLoss(SystemMemberRegionEvent event)
Invoked when a region is destroyed or closed in any node of distributed system. |
Method Detail |
---|
void afterRegionCreate(SystemMemberRegionEvent event)
event
- describes the region that was created.CacheFactory.create(com.gemstone.gemfire.distributed.DistributedSystem)
,
Cache.createRegion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes)
,
Region.createSubregion(java.lang.String, com.gemstone.gemfire.cache.RegionAttributes)
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(com.gemstone.gemfire.admin.SystemMemberCacheEvent)
.RegionService.close()
,
Region.close()
,
Region.localDestroyRegion()
,
Region.destroyRegion()
void afterCacheCreate(SystemMemberCacheEvent event)
event
- describes the member that created the cache.CacheFactory.create(com.gemstone.gemfire.distributed.DistributedSystem)
void afterCacheClose(SystemMemberCacheEvent event)
event
- describes the member that closed its cache.RegionService.close()
|
GemFire 6.6.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |