@PublicAPI
public interface RuntimeDataMBean
Modifier and Type | Method and Description |
---|---|
int |
getAvailableNodesCount()
Returns the current number of available nodes.
|
double |
getAverageActivity()
Returns the average activity percentage.
|
double |
getAverageInactivity()
Returns the average inactivity percentage.
|
int |
getBusyNodesCount()
Returns the current number of nodes in
NodeState.BUSY state. |
int |
getConfigNodesCount()
Returns the current number of nodes in
NodeState.CONFIGURING state. |
int |
getDeployingNodesCount()
Returns the current number of nodes in
NodeState.DEPLOYING state. |
int |
getDownNodesCount()
Returns the current number of nodes in
NodeState.DOWN state. |
int |
getFreeNodesCount()
Returns the current number of nodes in
NodeState.FREE state. |
int |
getLostNodesCount()
Returns the current number of nodes in
NodeState.LOST state. |
int |
getMaxBusyNodes()
Returns the maximum number of nodes in
NodeState.BUSY state. |
int |
getMaxConfiguringNodes()
Returns the maximum number of nodes in
NodeState.CONFIGURING state. |
int |
getMaxDeployingNodes()
Returns the maximum number of nodes in
NodeState.DEPLOYING state. |
int |
getMaxDownNodes()
Returns the maximum number of nodes in
NodeState.FREE state. |
int |
getMaxFreeNodes()
Returns the maximum number of nodes in
NodeState.FREE state. |
int |
getMaxLostNodes()
Returns the maximum number of nodes in
NodeState.LOST state. |
int |
getMaxToBeReleasedNodes()
Returns the maximum number of nodes in
NodeState.TO_BE_REMOVED state. |
int |
getNeededNodesCount() |
byte[] |
getStatisticHistory()
Sends the statistics accumulated in the RRD data base
|
String |
getStatus()
Returns the current status of the resource manager.
|
int |
getToBeReleasedNodesCount()
Returns the current number of nodes in
NodeState.TO_BE_REMOVED state. |
String getStatus()
int getAvailableNodesCount()
int getNeededNodesCount()
int getConfigNodesCount()
NodeState.CONFIGURING
state.NodeState.CONFIGURING
state.int getDeployingNodesCount()
NodeState.DEPLOYING
state.NodeState.DEPLOYING
state.int getLostNodesCount()
NodeState.LOST
state.NodeState.LOST
state.int getFreeNodesCount()
NodeState.FREE
state.int getBusyNodesCount()
NodeState.BUSY
state.int getToBeReleasedNodesCount()
NodeState.TO_BE_REMOVED
state.int getDownNodesCount()
NodeState.DOWN
state.int getMaxConfiguringNodes()
NodeState.CONFIGURING
state.NodeState.CONFIGURING
state.int getMaxDeployingNodes()
NodeState.DEPLOYING
state.NodeState.DEPLOYING
state.int getMaxLostNodes()
NodeState.LOST
state.NodeState.LOST
state.int getMaxFreeNodes()
NodeState.FREE
state.int getMaxBusyNodes()
NodeState.BUSY
state.int getMaxToBeReleasedNodes()
NodeState.TO_BE_REMOVED
state.int getMaxDownNodes()
NodeState.FREE
state.double getAverageActivity()
double getAverageInactivity()
byte[] getStatisticHistory() throws IOException
IOException
- when data base cannot be read