public class HotRestartStateImpl extends Object implements HotRestartState
Constructor and Description |
---|
HotRestartStateImpl() |
HotRestartStateImpl(BackupTaskStatus backupTaskStatus,
boolean isHotBackupEnabled) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(com.eclipsesource.json.JsonObject json) |
BackupTaskStatus |
getBackupTaskStatus()
Returns the local hot restart backup task status (not the cluster backup status).
|
boolean |
isHotBackupEnabled() |
com.eclipsesource.json.JsonObject |
toJson() |
String |
toString() |
public HotRestartStateImpl()
public HotRestartStateImpl(BackupTaskStatus backupTaskStatus, boolean isHotBackupEnabled)
public BackupTaskStatus getBackupTaskStatus()
HotRestartState
getBackupTaskStatus
in interface HotRestartState
public boolean isHotBackupEnabled()
isHotBackupEnabled
in interface HotRestartState
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.