Class IndexSnapshotCreationResult

java.lang.Object
com.atlassian.jira.index.ha.IndexSnapshotCreationResult
All Implemented Interfaces:
Serializable

public final class IndexSnapshotCreationResult extends Object implements Serializable
Represents result of attempted snapshot creation.
See Also:
  • Method Details

    • successFor

      public static IndexSnapshotCreationResult successFor(String newSnapshotName)
      Parameters:
      newSnapshotName - name of the created snapshot.
      Returns:
      status of a successful index snapshot creation.
    • blocked

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

      public static IndexSnapshotCreationResult error()
      Returns:
      status of an index snapshot creation that ended with unexpected error.
    • getStatus

    • getSnapshotName

      public String getSnapshotName()