public class NodeStateImpl extends Object implements NodeState
Constructor and Description |
---|
NodeStateImpl() |
NodeStateImpl(ClusterState clusterState,
NodeState nodeState,
Version clusterVersion,
MemberVersion memberVersion) |
NodeStateImpl(ClusterState clusterState,
NodeState nodeState,
Version clusterVersion,
MemberVersion memberVersion,
Map<String,List<String>> weakConfigs) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
ClusterState |
getClusterState() |
Version |
getClusterVersion() |
MemberVersion |
getMemberVersion() |
NodeState |
getNodeState() |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
public NodeStateImpl()
public NodeStateImpl(ClusterState clusterState, NodeState nodeState, Version clusterVersion, MemberVersion memberVersion)
public NodeStateImpl(ClusterState clusterState, NodeState nodeState, Version clusterVersion, MemberVersion memberVersion, Map<String,List<String>> weakConfigs)
public ClusterState getClusterState()
getClusterState
in interface NodeState
public NodeState getNodeState()
getNodeState
in interface NodeState
public Version getClusterVersion()
getClusterVersion
in interface NodeState
public MemberVersion getMemberVersion()
getMemberVersion
in interface NodeState
public com.eclipsesource.json.JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(com.eclipsesource.json.JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.