Package com.atlassian.confluence.cluster
Interface UpgradeFinalizationRun
-
- All Known Implementing Classes:
UpgradeFinalizationRunImpl
public interface UpgradeFinalizationRun
Information with the execution of upgrade finalization and its outcome- Since:
- 7.14
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
UpgradeFinalizationRun.Error
Specifies the contract for errors related to the running of a FinalizationUpgradeTask
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Long
getCompletedTimestamp()
List<UpgradeFinalizationRun.Error>
getErrors()
why we get the errors for finalization i.e.long
getRequestTimestamp()
default boolean
isCompleted()
default boolean
isFailed()
boolean
runsClusterWideTasks()
-
-
-
Method Detail
-
getRequestTimestamp
long getRequestTimestamp()
- Returns:
- timestamp in milliseconds when this finalization run was requested to the cluster
-
getCompletedTimestamp
Long getCompletedTimestamp()
- Returns:
- timestamp in milliseconds when this finalization run was completed, or null if the run is still in progress
-
getErrors
List<UpgradeFinalizationRun.Error> getErrors()
why we get the errors for finalization i.e. not Johnson- Returns:
- a List of finalization task errors on this node
-
isFailed
default boolean isFailed()
- Returns:
- true if finalization run failed to execute
-
isCompleted
default boolean isCompleted()
- Returns:
- true if finalization run has completed (successfully or otherwise)
-
runsClusterWideTasks
boolean runsClusterWideTasks()
- Returns:
- true if this cluster node should run
DatabaseUpgradeTask
s.
-
-