public class FileStoreBackupRestoreImpl extends Object implements org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
FileStoreBackupRestoreMBean
based on a
file.TYPE
Constructor and Description |
---|
FileStoreBackupRestoreImpl(SegmentNodeStore store,
Revisions revisions,
SegmentReader reader,
File file,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
String |
checkpoint(long lifetime) |
CompositeData |
getBackupStatus() |
CompositeData |
getRestoreStatus() |
CompositeData |
startBackup() |
CompositeData |
startRestore() |
public FileStoreBackupRestoreImpl(@Nonnull SegmentNodeStore store, @Nonnull Revisions revisions, @Nonnull SegmentReader reader, @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 operation@Nonnull public CompositeData startBackup()
startBackup
in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
@Nonnull public CompositeData getBackupStatus()
getBackupStatus
in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
@Nonnull public CompositeData startRestore()
startRestore
in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
@Nonnull public CompositeData getRestoreStatus()
getRestoreStatus
in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
@Nonnull public String checkpoint(long lifetime)
checkpoint
in interface org.apache.jackrabbit.oak.api.jmx.FileStoreBackupRestoreMBean
Copyright © 2012-2019 The Apache Software Foundation. All Rights Reserved.