Package io.camunda.zeebe.backup.gcs
Class GcsBackupStore
java.lang.Object
io.camunda.zeebe.backup.gcs.GcsBackupStore
- All Implemented Interfaces:
io.camunda.zeebe.backup.api.BackupStore
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic com.google.cloud.storage.StoragebuildClient(GcsBackupConfig config) delete(io.camunda.zeebe.backup.api.BackupIdentifier id) CompletableFuture<io.camunda.zeebe.backup.api.BackupStatus> getStatus(io.camunda.zeebe.backup.api.BackupIdentifier id) CompletableFuture<Collection<io.camunda.zeebe.backup.api.BackupStatus>> list(io.camunda.zeebe.backup.api.BackupIdentifierWildcard wildcard) CompletableFuture<io.camunda.zeebe.backup.api.BackupStatusCode> markFailed(io.camunda.zeebe.backup.api.BackupIdentifier id, String failureReason) static io.camunda.zeebe.backup.api.BackupStoreof(GcsBackupConfig config) CompletableFuture<io.camunda.zeebe.backup.api.Backup> save(io.camunda.zeebe.backup.api.Backup backup) static voidvalidateConfig(GcsBackupConfig config) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.camunda.zeebe.backup.api.BackupStore
logging
-
Field Details
-
ERROR_MSG_BACKUP_NOT_FOUND
- See Also:
-
ERROR_MSG_BACKUP_WRONG_STATE_TO_RESTORE
- See Also:
-
ERROR_VALIDATION_FAILED
- See Also:
-
SNAPSHOT_FILESET_NAME
- See Also:
-
SEGMENTS_FILESET_NAME
- See Also:
-
-
Method Details
-
of
-
save
- Specified by:
savein interfaceio.camunda.zeebe.backup.api.BackupStore
-
getStatus
public CompletableFuture<io.camunda.zeebe.backup.api.BackupStatus> getStatus(io.camunda.zeebe.backup.api.BackupIdentifier id) - Specified by:
getStatusin interfaceio.camunda.zeebe.backup.api.BackupStore
-
list
public CompletableFuture<Collection<io.camunda.zeebe.backup.api.BackupStatus>> list(io.camunda.zeebe.backup.api.BackupIdentifierWildcard wildcard) - Specified by:
listin interfaceio.camunda.zeebe.backup.api.BackupStore
-
delete
- Specified by:
deletein interfaceio.camunda.zeebe.backup.api.BackupStore
-
restore
public CompletableFuture<io.camunda.zeebe.backup.api.Backup> restore(io.camunda.zeebe.backup.api.BackupIdentifier id, Path targetFolder) - Specified by:
restorein interfaceio.camunda.zeebe.backup.api.BackupStore
-
markFailed
public CompletableFuture<io.camunda.zeebe.backup.api.BackupStatusCode> markFailed(io.camunda.zeebe.backup.api.BackupIdentifier id, String failureReason) - Specified by:
markFailedin interfaceio.camunda.zeebe.backup.api.BackupStore
-
closeAsync
- Specified by:
closeAsyncin interfaceio.camunda.zeebe.backup.api.BackupStore
-
buildClient
-
validateConfig
-