|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.cache.util.CacheListenerAdapter
com.gemstone.gemfire.cache.util.RegionMembershipListenerAdapter
public abstract class RegionMembershipListenerAdapter
Utility class that implements all methods in RegionMembershipListener
with empty implementations. Applications can subclass this class and only
override the methods for the events of interest.
| Constructor Summary | |
|---|---|
RegionMembershipListenerAdapter()
|
|
| Method Summary | |
|---|---|
void |
afterRemoteRegionCrash(RegionEvent event)
Invoked when another member's distributed region is no longer available to this cache because the member has crashed or is no longer reachable on the network. |
void |
afterRemoteRegionCreate(RegionEvent event)
Invoked when another member has created the distributed region this listener is on. |
void |
afterRemoteRegionDeparture(RegionEvent event)
Invoked when another member's distributed region is no longer available to this cache due to normal operations. |
void |
initialMembers(Region r,
DistributedMember[] initialMembers)
Invoked when the listener is first initialized and is given the set of members that have the region created at that time. |
| Methods inherited from class com.gemstone.gemfire.cache.util.CacheListenerAdapter |
|---|
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, close |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.gemstone.gemfire.cache.CacheListener |
|---|
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate |
| Methods inherited from interface com.gemstone.gemfire.cache.CacheCallback |
|---|
close |
| Constructor Detail |
|---|
public RegionMembershipListenerAdapter()
| Method Detail |
|---|
public void initialMembers(Region r,
DistributedMember[] initialMembers)
RegionMembershipListenerAttributesMutator.
initialMembers in interface RegionMembershipListenerr - the Region the listener is registered oninitialMembers - an array of the other members that have this region
at the time this listener is added.public void afterRemoteRegionCreate(RegionEvent event)
RegionMembershipListener
afterRemoteRegionCreate in interface RegionMembershipListenerevent - the event from the member whose region was created.public void afterRemoteRegionDeparture(RegionEvent event)
RegionMembershipListener
afterRemoteRegionDeparture in interface RegionMembershipListenerevent - the event from the member whose region is no longer available.public void afterRemoteRegionCrash(RegionEvent event)
RegionMembershipListener
afterRemoteRegionCrash in interface RegionMembershipListenerevent - the event from the member whose region is no longer available.
|
GemFire 5.8 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||