Class NodeZduInfoImpl

java.lang.Object
com.atlassian.confluence.impl.cluster.NodeZduInfoImpl
All Implemented Interfaces:
NodeZduInfo, Serializable

@ParametersAreNonnullByDefault @ReturnValuesAreNonnullByDefault public class NodeZduInfoImpl extends Object implements NodeZduInfo, Serializable
Since:
7.14
See Also:
  • Constructor Details

  • Method Details

    • getApplicationState

      public ApplicationState getApplicationState()
      Description copied from interface: NodeZduInfo
      Obtains the application state of this node.
      Specified by:
      getApplicationState in interface NodeZduInfo
      Returns:
      the application state
    • getBuildNumber

      public String getBuildNumber()
      Description copied from interface: NodeZduInfo
      Obtains the application build number running on this node.
      Specified by:
      getBuildNumber in interface NodeZduInfo
      Returns:
      the build number
    • getVersion

      public String getVersion()
      Description copied from interface: NodeZduInfo
      Obtains the Confluence version running on this node.
      Specified by:
      getVersion in interface NodeZduInfo
      Returns:
      the Confluence version
    • getLongRunningTaskCount

      public int getLongRunningTaskCount()
      Description copied from interface: NodeZduInfo
      Obtains the count of all long-running tasks that are currently running on this node.
      Specified by:
      getLongRunningTaskCount in interface NodeZduInfo
      Returns:
      the task count (0 or positive)
    • getActiveUserCount

      public int getActiveUserCount()
      Description copied from interface: NodeZduInfo
      Obtains the count of users with non-expired sessions on this node.
      Specified by:
      getActiveUserCount in interface NodeZduInfo
      Returns:
      the user count (0 or positive)
    • isPendingLocalFinalization

      public boolean isPendingLocalFinalization()
      Specified by:
      isPendingLocalFinalization in interface NodeZduInfo
      Returns:
      true if the node is pending local finalization.
    • getFinalizationRun

      public Optional<UpgradeFinalizationRun> getFinalizationRun()
      Specified by:
      getFinalizationRun in interface NodeZduInfo
      Returns:
      the most recent finalization run on this node.