public class FileStoreBackupRestore extends java.lang.Object implements FileStoreBackupRestoreMBean
FileStoreBackupRestoreMBean based on a file.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BACKUP_OP_NAME |
static java.lang.String |
RESTORE_OP_NAME |
| Constructor and Description |
|---|
FileStoreBackupRestore(NodeStore store,
java.io.File file,
java.util.concurrent.Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
checkpoint(long lifetime)
Creates a new checkpoint of the latest root of the tree.
|
javax.management.openmbean.CompositeData |
getBackupStatus()
Backup status
|
javax.management.openmbean.CompositeData |
getRestoreStatus()
Restore status
|
javax.management.openmbean.CompositeData |
startBackup()
Initiate a backup operation.
|
javax.management.openmbean.CompositeData |
startRestore()
Initiate a restore operation.
|
public static final java.lang.String BACKUP_OP_NAME
public static final java.lang.String RESTORE_OP_NAME
public FileStoreBackupRestore(NodeStore store, java.io.File file, java.util.concurrent.Executor executor)
store - store to back up from or restore tofile - file to back up to or restore fromexecutor - executor for running the back up or restore operationpublic javax.management.openmbean.CompositeData startBackup()
FileStoreBackupRestoreMBeanstartBackup in interface FileStoreBackupRestoreMBeanpublic javax.management.openmbean.CompositeData getBackupStatus()
FileStoreBackupRestoreMBeangetBackupStatus in interface FileStoreBackupRestoreMBeanpublic javax.management.openmbean.CompositeData startRestore()
FileStoreBackupRestoreMBeanstartRestore in interface FileStoreBackupRestoreMBeanpublic javax.management.openmbean.CompositeData getRestoreStatus()
FileStoreBackupRestoreMBeangetRestoreStatus in interface FileStoreBackupRestoreMBeanpublic java.lang.String checkpoint(long lifetime)
FileStoreBackupRestoreMBeancheckpoint in interface FileStoreBackupRestoreMBeanlifetime - time (in milliseconds, > 0) that the checkpoint
should remain available"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"