Package org.apache.geode.cache.util
Class RegionRoleListenerAdapter<K,V>
java.lang.Object
org.apache.geode.cache.util.CacheListenerAdapter<K,V>
org.apache.geode.cache.util.RegionMembershipListenerAdapter<K,V>
org.apache.geode.cache.util.RegionRoleListenerAdapter<K,V>
- All Implemented Interfaces:
CacheCallback,CacheListener<K,,V> Declarable,RegionMembershipListener<K,,V> RegionRoleListener<K,V>
@Deprecated
public abstract class RegionRoleListenerAdapter<K,V>
extends RegionMembershipListenerAdapter<K,V>
implements RegionRoleListener<K,V>
Deprecated.
this feature is scheduled to be removed
Utility class that implements all methods in
RegionRoleListener with empty
implementations. Applications can subclass this class and only override the methods for the
events of interest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRoleGain(RoleEvent<K, V> event) Deprecated.Invoked when a required role has returned to the distributed system after being absent.voidafterRoleLoss(RoleEvent<K, V> event) Deprecated.Invoked when a required role is no longer available in the distributed system.Methods inherited from class org.apache.geode.cache.util.RegionMembershipListenerAdapter
afterRemoteRegionCrash, afterRemoteRegionCreate, afterRemoteRegionDeparture, initialMembersMethods inherited from class org.apache.geode.cache.util.CacheListenerAdapter
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdate, closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.cache.CacheCallback
closeMethods inherited from interface org.apache.geode.cache.CacheListener
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionDestroy, afterRegionInvalidate, afterRegionLive, afterUpdateMethods inherited from interface org.apache.geode.cache.Declarable
init, initialize
-
Constructor Details
-
RegionRoleListenerAdapter
public RegionRoleListenerAdapter()Deprecated.
-
-
Method Details
-
afterRoleGain
Deprecated.Description copied from interface:RegionRoleListenerInvoked when a required role has returned to the distributed system after being absent.- Specified by:
afterRoleGainin interfaceRegionRoleListener<K,V> - Parameters:
event- describes the member that fills the required role.
-
afterRoleLoss
Deprecated.Description copied from interface:RegionRoleListenerInvoked when a required role is no longer available in the distributed system.- Specified by:
afterRoleLossin interfaceRegionRoleListener<K,V> - Parameters:
event- describes the member that last filled the required role.
-