public static class NodeDaoHibernate.SimpleSurveillanceStatus extends Object implements SurveillanceStatus
| Constructor and Description |
|---|
SimpleSurveillanceStatus(Number serviceOutages,
Number upNodeCount,
Number nodeCount) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDownEntityCount()
The number of nodes that do not have at least one service up
|
String |
getStatus()
A string presenting the status of the associated set of nodes
Possible values are:
'Normal' representing that there are no ouages for active services on the set of associated nodes
'Warning' representing exactly one service from set of all active services on the associated nodes has an outage
'Critical' representing that more than one service on the from the set of all active services on the assocuate nodes has an outage
|
Integer |
getTotalEntityCount()
The total number of nodes represented by this status
|
public Integer getDownEntityCount()
SurveillanceStatusgetDownEntityCount in interface SurveillanceStatuspublic Integer getTotalEntityCount()
SurveillanceStatusgetTotalEntityCount in interface SurveillanceStatuspublic String getStatus()
SurveillanceStatusgetStatus in interface SurveillanceStatusCopyright © 2022. All rights reserved.