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 SummaryConstructorsConstructorDescriptionNodeZduInfoImpl(ApplicationState state, String buildNumber, String version, int longRunningTaskCount, int activeUserCount, boolean hasFinalizationTasks, @Nullable UpgradeFinalizationRun finalizationRun) 
- 
Method SummaryModifier and TypeMethodDescriptionintObtains 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.intObtains the count of all long-running tasks that are currently running on this node.Obtains the Confluence version running on this node.boolean
- 
Constructor Details- 
NodeZduInfoImplpublic NodeZduInfoImpl(ApplicationState state, String buildNumber, String version, int longRunningTaskCount, int activeUserCount, boolean hasFinalizationTasks, @Nullable UpgradeFinalizationRun finalizationRun) 
 
- 
- 
Method Details- 
getApplicationStateDescription copied from interface:NodeZduInfoObtains the application state of this node.- Specified by:
- getApplicationStatein interface- NodeZduInfo
- Returns:
- the application state
 
- 
getBuildNumberDescription copied from interface:NodeZduInfoObtains the application build number running on this node.- Specified by:
- getBuildNumberin interface- NodeZduInfo
- Returns:
- the build number
 
- 
getVersionDescription copied from interface:NodeZduInfoObtains the Confluence version running on this node.- Specified by:
- getVersionin interface- NodeZduInfo
- Returns:
- the Confluence version
 
- 
getLongRunningTaskCountpublic int getLongRunningTaskCount()Description copied from interface:NodeZduInfoObtains the count of all long-running tasks that are currently running on this node.- Specified by:
- getLongRunningTaskCountin interface- NodeZduInfo
- Returns:
- the task count (0 or positive)
 
- 
getActiveUserCountpublic int getActiveUserCount()Description copied from interface:NodeZduInfoObtains the count of users with non-expired sessions on this node.- Specified by:
- getActiveUserCountin interface- NodeZduInfo
- Returns:
- the user count (0 or positive)
 
- 
isPendingLocalFinalizationpublic boolean isPendingLocalFinalization()- Specified by:
- isPendingLocalFinalizationin interface- NodeZduInfo
- Returns:
- true if the node is pending local finalization.
 
- 
getFinalizationRun- Specified by:
- getFinalizationRunin interface- NodeZduInfo
- Returns:
- the most recent finalization run on this node.
 
 
-