Package com.atlassian.confluence.cluster
Interface NodeZduInfo
- All Known Implementing Classes:
NodeZduInfoImpl
public interface NodeZduInfo
- Since:
- 7.14
-
Method Summary
Modifier and TypeMethodDescriptionint
Obtains the count of users with non-expired sessions on this node.Obtains the application state of this node.Obtains the application build number running on this node.int
Obtains the count of all long-running tasks that are currently running on this node.Obtains the Confluence version running on this node.boolean
-
Method Details
-
getApplicationState
ApplicationState getApplicationState()Obtains the application state of this node.- Returns:
- the application state
-
getBuildNumber
String getBuildNumber()Obtains the application build number running on this node.- Returns:
- the build number
-
getVersion
String getVersion()Obtains the Confluence version running on this node.- Returns:
- the Confluence version
-
getLongRunningTaskCount
int getLongRunningTaskCount()Obtains the count of all long-running tasks that are currently running on this node.- Returns:
- the task count (0 or positive)
-
getActiveUserCount
int getActiveUserCount()Obtains the count of users with non-expired sessions on this node.- Returns:
- the user count (0 or positive)
-
isPendingLocalFinalization
boolean isPendingLocalFinalization()- Returns:
- true if the node is pending local finalization.
-
getFinalizationRun
Optional<UpgradeFinalizationRun> getFinalizationRun()- Returns:
- the most recent finalization run on this node.
-