Class CriticalService

  • All Implemented Interfaces:
    java.io.Serializable

    public class CriticalService
    extends java.lang.Object
    implements java.io.Serializable
    Critical service. Defining a critical service greatly reduces the traffic generated by the poller when an interface is DOWN. When an interface is DOWN only the critical service is polled. If and when the critical service comes back UP then the interface's other services are polled to determine their status. When an interface is UP all services are polled as expected. If the critical service goes DOWN, all services are considered to be DOWN and therefore the interface is also considered DOWN.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getName()
      Name of the critical service (typically, "ICMP")
      int hashCode()  
      void setName​(java.lang.String name)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CriticalService

        public CriticalService()
      • CriticalService

        public CriticalService​(java.lang.String name)
    • Method Detail

      • getName

        public java.lang.String getName()
        Name of the critical service (typically, "ICMP")
      • setName

        public void setName​(java.lang.String name)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object