Class IndexSnapshotAsyncStartResult

java.lang.Object
com.atlassian.jira.index.ha.IndexSnapshotAsyncStartResult

public final class IndexSnapshotAsyncStartResult extends Object
Represents a result of an attempt to start the index snapshot creation asynchronously.
  • Method Details

    • startedFor

      public static IndexSnapshotAsyncStartResult startedFor(String futureSnapshotName)
      Parameters:
      futureSnapshotName - name of the snapshot to be created.
      Returns:
      status of a successfully started index snapshot creation.
    • blocked

      public static IndexSnapshotAsyncStartResult blocked()
      Returns:
      status of an index snapshot creation that was called when other process already started creating the index snapshot.
    • getStatus

    • getFutureSnapshotName

      public String getFutureSnapshotName()