Package org.opennms.netmgt.config.poller
Class CriticalService
- java.lang.Object
-
- org.opennms.netmgt.config.poller.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
-
-
Constructor Summary
Constructors Constructor Description CriticalService()
CriticalService(java.lang.String name)
-
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()
-
-
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-