public class NodeStatusImpl extends Object implements NodeStatus, Serializable
Constructor and Description |
---|
NodeStatusImpl(Map<String,String> jvmStats,
Map<String,String> props,
Map<String,String> buildStats,
ApplicationState applicationState,
int longRunningTaskCount,
int activeUserCount) |
NodeStatusImpl(NodeStatus status) |
Modifier and Type | Method and Description |
---|---|
int |
getActiveUserCount()
Obtains the count of users with non-expired sessions on this node.
|
ApplicationState |
getApplicationState()
Obtains the application state of this node.
|
Map<String,String> |
getBuildStats() |
Map<String,String> |
getJVMstats() |
int |
getLongRunningTaskCount()
Obtains the count of all long-running tasks that are currently running on this node.
|
Map<String,String> |
getProps() |
public NodeStatusImpl(Map<String,String> jvmStats, Map<String,String> props, Map<String,String> buildStats, ApplicationState applicationState, int longRunningTaskCount, int activeUserCount)
public NodeStatusImpl(NodeStatus status)
public Map<String,String> getJVMstats()
getJVMstats
in interface NodeStatus
public Map<String,String> getProps()
getProps
in interface NodeStatus
public Map<String,String> getBuildStats()
getBuildStats
in interface NodeStatus
public ApplicationState getApplicationState()
NodeStatus
getApplicationState
in interface NodeStatus
public int getLongRunningTaskCount()
NodeStatus
getLongRunningTaskCount
in interface NodeStatus
public int getActiveUserCount()
NodeStatus
getActiveUserCount
in interface NodeStatus
Copyright © 2003–2021 Atlassian. All rights reserved.