public class ClusterEvent
extends Object
implements Serializable
Constructor and Description |
---|
ClusterEvent(ClusterEventType clusterEventType) |
ClusterEvent(ClusterEventType clusterEventType,
List<ClusterNode> clusterNodes) |
Modifier and Type | Method and Description |
---|---|
static ClusterEvent |
depart(ClusterNode... clusterNodes) |
static ClusterEvent |
depart(List<ClusterNode> clusterNodes) |
ClusterEventType |
getClusterEventType() |
List<ClusterNode> |
getClusterNodes() |
static ClusterEvent |
join(ClusterNode... clusterNodes) |
static ClusterEvent |
join(List<ClusterNode> clusterNodes) |
public ClusterEvent(ClusterEventType clusterEventType)
public ClusterEvent(ClusterEventType clusterEventType, List<ClusterNode> clusterNodes)
public static ClusterEvent depart(ClusterNode... clusterNodes)
public static ClusterEvent depart(List<ClusterNode> clusterNodes)
public static ClusterEvent join(ClusterNode... clusterNodes)
public static ClusterEvent join(List<ClusterNode> clusterNodes)
public ClusterEventType getClusterEventType()
public List<ClusterNode> getClusterNodes()