Package io.camunda.webapps.backup
Interface BackupRepository
- All Known Implementing Classes:
ElasticsearchBackupRepository,OpensearchBackupRepository
public interface BackupRepository
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Patternstatic final org.slf4j.Loggerstatic final int -
Method Summary
Modifier and TypeMethodDescriptioncheckAllIndicesExist(List<String> indices) voiddeleteSnapshot(String repositoryName, String snapshotName) voidexecuteSnapshotting(BackupService.SnapshotRequest snapshotRequest, Runnable onSuccess, Runnable onFailure) getBackups(String repositoryName, boolean verbose, String pattern) getBackupState(String repositoryName, Long backupId) getMetadata(String repositoryName, Long backupId) default booleanisIncompleteCheckTimedOut(long incompleteCheckTimeoutInSeconds, long lastSnapshotFinishedTime) voidvalidateNoDuplicateBackupId(String repositoryName, Long backupId) voidvalidateRepositoryExists(String repositoryName) static StringvalidPattern(String pattern)
-
Field Details
-
BACKUPID_PATTERN
-
LONG_MAX_LENGTH_AS_STRING
static final int LONG_MAX_LENGTH_AS_STRING- See Also:
-
LOGGER
static final org.slf4j.Logger LOGGER
-
-
Method Details
-
snapshotNameProvider
SnapshotNameProvider snapshotNameProvider() -
deleteSnapshot
-
validateRepositoryExists
-
validateNoDuplicateBackupId
-
getBackupState
-
getMetadata
-
checkAllIndicesExist
-
getBackups
-
executeSnapshotting
void executeSnapshotting(BackupService.SnapshotRequest snapshotRequest, Runnable onSuccess, Runnable onFailure) -
isIncompleteCheckTimedOut
default boolean isIncompleteCheckTimedOut(long incompleteCheckTimeoutInSeconds, long lastSnapshotFinishedTime) -
validPattern
-