org.opennms.netmgt.dao.hibernate
Class NodeDaoHibernate.SimpleSurveillanceStatus
java.lang.Object
org.opennms.netmgt.dao.hibernate.NodeDaoHibernate.SimpleSurveillanceStatus
- All Implemented Interfaces:
- SurveillanceStatus
- Enclosing class:
- NodeDaoHibernate
public static class NodeDaoHibernate.SimpleSurveillanceStatus
- extends Object
- implements SurveillanceStatus
|
Method Summary |
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeDaoHibernate.SimpleSurveillanceStatus
public NodeDaoHibernate.SimpleSurveillanceStatus(Number serviceOutages,
Number upNodeCount,
Number nodeCount)
getDownEntityCount
public Integer getDownEntityCount()
- Description copied from interface:
SurveillanceStatus
- The number of nodes that do not have at least one service up
- Specified by:
getDownEntityCount in interface SurveillanceStatus
getTotalEntityCount
public Integer getTotalEntityCount()
- Description copied from interface:
SurveillanceStatus
- The total number of nodes represented by this status
- Specified by:
getTotalEntityCount in interface SurveillanceStatus
getStatus
public String getStatus()
- Description copied from interface:
SurveillanceStatus
- 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
- Specified by:
getStatus in interface SurveillanceStatus
Copyright © 2011. All Rights Reserved.