Class GcsBackupStore

java.lang.Object
io.camunda.zeebe.backup.gcs.GcsBackupStore
All Implemented Interfaces:
io.camunda.zeebe.backup.api.BackupStore

public final class GcsBackupStore extends Object implements io.camunda.zeebe.backup.api.BackupStore
  • Field Details

  • Method Details

    • of

      public static io.camunda.zeebe.backup.api.BackupStore of(GcsBackupConfig config)
    • save

      public CompletableFuture<Void> save(io.camunda.zeebe.backup.api.Backup backup)
      Specified by:
      save in interface io.camunda.zeebe.backup.api.BackupStore
    • getStatus

      public CompletableFuture<io.camunda.zeebe.backup.api.BackupStatus> getStatus(io.camunda.zeebe.backup.api.BackupIdentifier id)
      Specified by:
      getStatus in interface io.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:
      list in interface io.camunda.zeebe.backup.api.BackupStore
    • delete

      public CompletableFuture<Void> delete(io.camunda.zeebe.backup.api.BackupIdentifier id)
      Specified by:
      delete in interface io.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:
      restore in interface io.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:
      markFailed in interface io.camunda.zeebe.backup.api.BackupStore
    • closeAsync

      public CompletableFuture<Void> closeAsync()
      Specified by:
      closeAsync in interface io.camunda.zeebe.backup.api.BackupStore
    • buildClient

      public static com.google.cloud.storage.Storage buildClient(GcsBackupConfig config)
    • validateConfig

      public static void validateConfig(GcsBackupConfig config)