Interface FileStoreBackupRestoreMBean
-
@ProviderType public interface FileStoreBackupRestoreMBean
MBean for backing up and restoring aNodeStore
.- See Also:
RepositoryManagementMBean
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description @NotNull java.lang.String
checkpoint(long lifetime)
Deprecated.UseCheckpointMBean
instead@NotNull javax.management.openmbean.CompositeData
getBackupStatus()
Backup status@NotNull javax.management.openmbean.CompositeData
getRestoreStatus()
Restore status@NotNull javax.management.openmbean.CompositeData
startBackup()
Initiate a backup operation.@NotNull javax.management.openmbean.CompositeData
startRestore()
Initiate a restore operation.
-
-
-
Field Detail
-
TYPE
static final java.lang.String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
startBackup
@NotNull @NotNull javax.management.openmbean.CompositeData startBackup()
Initiate a backup operation.- Returns:
- the status of the operation right after it was initiated
-
getBackupStatus
@NotNull @NotNull javax.management.openmbean.CompositeData 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
@NotNull @NotNull javax.management.openmbean.CompositeData startRestore()
Initiate a restore operation.- Returns:
- the status of the operation right after it was initiated
-
getRestoreStatus
@NotNull @NotNull javax.management.openmbean.CompositeData 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 @NotNull @NotNull java.lang.String checkpoint(long lifetime)
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
-
-