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