Interface FileStoreBackupRestoreMBean
@ProviderType
public interface FileStoreBackupRestoreMBean
MBean for backing up and restoring a
NodeStore.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull Stringcheckpoint(long lifetime) Deprecated.@NotNull CompositeDataBackup status@NotNull CompositeDataRestore status@NotNull CompositeDataInitiate a backup operation.@NotNull CompositeDataInitiate a restore operation.
-
Field Details
-
TYPE
- See Also:
-
-
Method Details
-
startBackup
Initiate a backup operation.- Returns:
- the status of the operation right after it was initiated
-
getBackupStatus
Backup status- Returns:
- the status of the ongoing operation or if none the terminal status of the last operation or Status not available if none.
-
startRestore
Initiate a restore operation.- Returns:
- the status of the operation right after it was initiated
-
getRestoreStatus
Restore status- Returns:
- the status of the ongoing operation or if none the terminal status of the last operation or Status not available if none.
-
checkpoint
Deprecated.UseCheckpointMBeaninsteadCreates a new checkpoint of the latest root of the tree. The checkpoint remains valid for at least as long as requested and allows that state of the repository to be retrieved using the returned opaque string reference.- Parameters:
lifetime- time (in milliseconds, > 0) that the checkpoint should remain available- Returns:
- string reference of this checkpoint
-
CheckpointMBeaninstead