com.alachisoft.jvcache.event
Interface ClusterListener

All Superinterfaces:
java.util.EventListener

public interface ClusterListener
extends java.util.EventListener

Cluster Listener listens for the events related to the Clsuter. like memberJoined, memberLeft events.


Method Summary
 void cacheStopped(ClusterEvent clusterEvent)
          Defines a callback method for notifying applications when cache on a node is stopped.
 void memberJoined(ClusterEvent clusterEvent)
          Defines a callback method for notifying applications when a node leaves the cluster.
 void memberLeft(ClusterEvent clusterEvent)
          Defines a callback method for notifying applications when a node joins the cluster.
 

Method Detail

memberJoined

void memberJoined(ClusterEvent clusterEvent)
Defines a callback method for notifying applications when a node leaves the cluster.

Parameters:
clusterEvent - The details of the event.

memberLeft

void memberLeft(ClusterEvent clusterEvent)
Defines a callback method for notifying applications when a node joins the cluster.

Parameters:
clusterEvent - The details of the event.

cacheStopped

void cacheStopped(ClusterEvent clusterEvent)
Defines a callback method for notifying applications when cache on a node is stopped.

Parameters:
clusterEvent - The details of the event.