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>> weakSecretsConfigs) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromJson(JsonObject json)
Extracts the state from the given
json object and mutates the
state of this object. |
ClusterState |
getClusterState() |
Version |
getClusterVersion() |
MemberVersion |
getMemberVersion() |
NodeState |
getNodeState() |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject. |
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>> weakSecretsConfigs)
public ClusterState getClusterState()
getClusterState in interface NodeStatepublic NodeState getNodeState()
getNodeState in interface NodeStatepublic Version getClusterVersion()
getClusterVersion in interface NodeStatepublic MemberVersion getMemberVersion()
getMemberVersion in interface NodeStatepublic JsonObject toJson()
JsonSerializableJsonObject.toJson in interface JsonSerializablepublic void fromJson(JsonObject json)
JsonSerializablejson object and mutates the
state of this object.fromJson in interface JsonSerializablejson - the JSON object carrying state for this objectCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.