public class FileStoreBackupRestore extends Object implements org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
FileStoreBackupRestoreMBean based on a file.| Modifier and Type | Field and Description |
|---|---|
static String |
BACKUP_OP_NAME |
static String |
RESTORE_OP_NAME |
| Constructor and Description |
|---|
FileStoreBackupRestore(org.apache.jackrabbit.oak.spi.state.NodeStore store,
File file,
Executor executor) |
| Modifier and Type | Method and Description |
|---|---|
String |
checkpoint(long lifetime) |
CompositeData |
getBackupStatus() |
CompositeData |
getRestoreStatus() |
CompositeData |
startBackup() |
CompositeData |
startRestore() |
public static final String BACKUP_OP_NAME
public static final String RESTORE_OP_NAME
public FileStoreBackupRestore(@Nonnull org.apache.jackrabbit.oak.spi.state.NodeStore store, @Nonnull File file, @Nonnull 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 CompositeData startBackup()
startBackup in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBeanpublic CompositeData getBackupStatus()
getBackupStatus in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBeanpublic CompositeData startRestore()
startRestore in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBeanpublic CompositeData getRestoreStatus()
getRestoreStatus in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBeanpublic String checkpoint(long lifetime)
checkpoint in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBeanCopyright © 2012-2018 The Apache Software Foundation. All Rights Reserved.