Interface ClusterStateChangeListener
-
public interface ClusterStateChangeListener
Listener interface implemented by resource adaptors to receive cluster state change callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clusterStateChange(int[] running, int[] joined, int[] left)
Notification that the cluster has changed state with respect to the resource adaptor entity that attached the listener.
-
-
-
Method Detail
-
clusterStateChange
void clusterStateChange(int[] running, int[] joined, int[] left)
Notification that the cluster has changed state with respect to the resource adaptor entity that attached the listener.
A
running
node is a node that satisfies the following conditions:-
the node is a member of the cluster’s primary component
-
the resource adaptor entity is in the Active state on the node
-
the SLEE is in the Running state on the node
The
running
set is a superset of thejoined
set and has an empty intersection with theleft
set.NB: A resource adaptor entity will leave the
running
state on a node if it or the SLEE transitions to the Stopping state on that node.- Parameters:
running
- the current set of cluster nodes where the resource adaptor entity is runningjoined
- the set of nodes that previously did not satisfy the conditions required to be in therunning
set but now doleft
- the set of nodes that previously did satisfy the conditions required to be in therunning
set but now don’t
-
-
-