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()
SurveillanceStatus
getDownEntityCount
in interface SurveillanceStatus
public Integer getTotalEntityCount()
SurveillanceStatus
getTotalEntityCount
in interface SurveillanceStatus
public String getStatus()
SurveillanceStatus
getStatus
in interface SurveillanceStatus
Copyright © 2021. All rights reserved.