public abstract class RegionMembershipListenerAdapter<K,V> extends CacheListenerAdapter<K,V> implements RegionMembershipListener<K,V>
RegionMembershipListener
with empty implementations. Applications can subclass this class and only
override the methods for the events of interest.| Constructor and Description |
|---|
RegionMembershipListenerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRemoteRegionCrash(RegionEvent<K,V> 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<K,V> event)
Invoked when another member has created the distributed region this
listener is on.
|
void |
afterRemoteRegionDeparture(RegionEvent<K,V> event)
Invoked when another member's distributed region is no longer
available to this cache due to normal operations.
|
void |
initialMembers(Region<K,V> 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.
|
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, closeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdateclosepublic void initialMembers(Region<K,V> r, DistributedMember[] initialMembers)
RegionMembershipListenerAttributesMutator.
initialMembers in interface RegionMembershipListener<K,V>r - 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<K,V> event)
RegionMembershipListenerafterRemoteRegionCreate in interface RegionMembershipListener<K,V>event - the event from the member whose region was created.public void afterRemoteRegionDeparture(RegionEvent<K,V> event)
RegionMembershipListenerafterRemoteRegionDeparture in interface RegionMembershipListener<K,V>event - the event from the member whose region is no longer available.public void afterRemoteRegionCrash(RegionEvent<K,V> event)
RegionMembershipListenerafterRemoteRegionCrash in interface RegionMembershipListener<K,V>event - the event from the member whose region is no longer available.