Class NodeDaoHibernate.SimpleSurveillanceStatus

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleSurveillanceStatus​(java.lang.Number serviceOutages, java.lang.Number upNodeCount, java.lang.Number nodeCount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Integer getDownEntityCount()
      The number of nodes that do not have at least one service up
      java.lang.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
      java.lang.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
    • Constructor Detail

      • SimpleSurveillanceStatus

        public SimpleSurveillanceStatus​(java.lang.Number serviceOutages,
                                        java.lang.Number upNodeCount,
                                        java.lang.Number nodeCount)
    • Method Detail

      • getStatus

        public java.lang.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