Package com.atlassian.jira.index.ha
Class IndexSnapshotCreationResult
java.lang.Object
com.atlassian.jira.index.ha.IndexSnapshotCreationResult
- All Implemented Interfaces:
Serializable
Represents result of attempted snapshot creation.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumRepresents status of index snapshot creation. -
Method Summary
Modifier and TypeMethodDescriptionstatic IndexSnapshotCreationResultblocked()static IndexSnapshotCreationResulterror()static IndexSnapshotCreationResultsuccessFor(String newSnapshotName)
-
Method Details
-
successFor
- Parameters:
newSnapshotName- name of the created snapshot.- Returns:
- status of a successful index snapshot creation.
-
blocked
- Returns:
- status of an index snapshot creation that was called when other process already started creating the index snapshot.
-
error
- Returns:
- status of an index snapshot creation that ended with unexpected error.
-
getStatus
-
getSnapshotName
-