public class HotRestartStateImpl extends Object implements HotRestartState
Constructor and Description |
---|
HotRestartStateImpl() |
HotRestartStateImpl(BackupTaskStatus backupTaskStatus,
boolean isHotBackupEnabled,
String backupDirectory) |
Modifier and Type | Method and Description |
---|---|
void |
fromJson(JsonObject json) |
String |
getBackupDirectory() |
BackupTaskStatus |
getBackupTaskStatus()
Returns the local hot restart backup task status (not the cluster backup status).
|
boolean |
isHotBackupEnabled() |
JsonObject |
toJson() |
String |
toString() |
public HotRestartStateImpl()
public HotRestartStateImpl(BackupTaskStatus backupTaskStatus, boolean isHotBackupEnabled, String backupDirectory)
public BackupTaskStatus getBackupTaskStatus()
HotRestartState
getBackupTaskStatus
in interface HotRestartState
public boolean isHotBackupEnabled()
isHotBackupEnabled
in interface HotRestartState
public String getBackupDirectory()
getBackupDirectory
in interface HotRestartState
public JsonObject toJson()
toJson
in interface JsonSerializable
public void fromJson(JsonObject json)
fromJson
in interface JsonSerializable
Copyright © 2018 Hazelcast, Inc.. All Rights Reserved.