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
Modifier and TypeInterfaceDescriptionstatic interface
Specifies the contract for errors related to the running of a FinalizationUpgradeTask
-
Method Summary
Modifier and TypeMethodDescriptionwhy we get the errors for finalization i.e.long
default boolean
default boolean
isFailed()
boolean
-
Method Details
-
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.
-