public abstract class ClusterAdapter extends java.lang.Object implements CacheStatusEventListener
Clustre events let you track when a member joins, leaves the cluster or cache stops on a node.
Extend this class to create a
and override the methods for the events of interest. (If you implement the
ClusterListener interface, you have to define all of
the methods in it. This abstract class defines null methods for them
all, so you can only have to define methods for events you care about.)
Create a listener object using the extended class and then register it with
a component using the component's
method. When a member joins, leaves the cluster or when the cache is stopped
the relevant method in the listener object is invoked and the
ClustereEvent is passed to it.
|Constructor and Description|
|Modifier and Type||Method and Description|
Invoked when cache on a member node stops.
Invoked when a member joins the cluster.
Invoked when a member leaves the cluster.
public void memberJoined(ClusterEvent e)
public void memberLeft(ClusterEvent e)