Class NodeDaoHibernate.SimpleSurveillanceStatus

    • Constructor Detail

      • SimpleSurveillanceStatus

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

      • 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