Interface FileStoreBackupRestoreMBean
- All Known Implementing Classes:
FileStoreBackupRestoreImpl
@ProviderType
public interface FileStoreBackupRestoreMBean
MBean for backing up and restoring a
NodeStore
.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescription@NotNull String
checkpoint
(long lifetime) Deprecated.@NotNull CompositeData
Backup status@NotNull CompositeData
Restore status@NotNull CompositeData
Initiate a backup operation.@NotNull CompositeData
Initiate 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.UseCheckpointMBean
insteadCreates 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
-
CheckpointMBean
instead