public abstract class RegionRoleListenerAdapter<K,V> extends RegionMembershipListenerAdapter<K,V> implements RegionRoleListener<K,V>
RegionRoleListener
with empty implementations.
Applications can subclass this class and only override the methods for
the events of interest.Constructor and Description |
---|
RegionRoleListenerAdapter()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterRoleGain(RoleEvent<K,V> event)
Deprecated.
Invoked when a required role has returned to the distributed system
after being absent.
|
void |
afterRoleLoss(RoleEvent<K,V> event)
Deprecated.
Invoked when a required role is no longer available in the distributed
system.
|
afterRemoteRegionCrash, afterRemoteRegionCreate, afterRemoteRegionDeparture, initialMembers
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate
close
public void afterRoleGain(RoleEvent<K,V> event)
RegionRoleListener
afterRoleGain
in interface RegionRoleListener<K,V>
event
- describes the member that fills the required role.public void afterRoleLoss(RoleEvent<K,V> event)
RegionRoleListener
afterRoleLoss
in interface RegionRoleListener<K,V>
event
- describes the member that last filled the required role.