public class ClusterHotRestartStatusDTO extends Object implements JsonSerializable
Modifier and Type | Class and Description |
---|---|
static class |
ClusterHotRestartStatusDTO.ClusterHotRestartStatus |
static class |
ClusterHotRestartStatusDTO.MemberHotRestartStatus |
Constructor and Description |
---|
ClusterHotRestartStatusDTO() |
ClusterHotRestartStatusDTO(HotRestartClusterDataRecoveryPolicy dataRecoveryPolicy,
ClusterHotRestartStatusDTO.ClusterHotRestartStatus hotRestartStatus,
long remainingValidationTimeMillis,
long remainingDataLoadTimeMillis,
Map<String,ClusterHotRestartStatusDTO.MemberHotRestartStatus> memberHotRestartStatusMap) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(JsonObject root)
Extracts the state from the given
json object and mutates the
state of this object. |
HotRestartClusterDataRecoveryPolicy |
getDataRecoveryPolicy() |
ClusterHotRestartStatusDTO.ClusterHotRestartStatus |
getHotRestartStatus() |
Map<String,ClusterHotRestartStatusDTO.MemberHotRestartStatus> |
getMemberHotRestartStatusMap() |
long |
getRemainingDataLoadTimeMillis() |
long |
getRemainingValidationTimeMillis() |
JsonObject |
toJson()
Serializes state represented by this object into a
JsonObject . |
public ClusterHotRestartStatusDTO()
public ClusterHotRestartStatusDTO(HotRestartClusterDataRecoveryPolicy dataRecoveryPolicy, ClusterHotRestartStatusDTO.ClusterHotRestartStatus hotRestartStatus, long remainingValidationTimeMillis, long remainingDataLoadTimeMillis, Map<String,ClusterHotRestartStatusDTO.MemberHotRestartStatus> memberHotRestartStatusMap)
public HotRestartClusterDataRecoveryPolicy getDataRecoveryPolicy()
public ClusterHotRestartStatusDTO.ClusterHotRestartStatus getHotRestartStatus()
public long getRemainingValidationTimeMillis()
public long getRemainingDataLoadTimeMillis()
public Map<String,ClusterHotRestartStatusDTO.MemberHotRestartStatus> getMemberHotRestartStatusMap()
public JsonObject toJson()
JsonSerializable
JsonObject
.toJson
in interface JsonSerializable
public void fromJson(JsonObject root)
JsonSerializable
json
object and mutates the
state of this object.fromJson
in interface JsonSerializable
root
- the JSON object carrying state for this objectCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.