public interface ClusterStateChangeListener
Listener interface implemented by resource adaptors to receive cluster state change callbacks.
Modifier and Type | Method and 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.
|
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 the joined
set and has an empty intersection with the left
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.
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 the running
set but now doleft
- the set of nodes that previously did satisfy the conditions required to be in the running
set but now don’t