|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.threshd.JMXThresholder
public abstract class JMXThresholder
The JMXThresholder class ...
| Field Summary |
|---|
| Fields inherited from interface org.opennms.netmgt.threshd.ServiceThresholder |
|---|
statusType, THRESHOLDING_FAILED, THRESHOLDING_SUCCEEDED, THRESHOLDING_UNKNOWN |
| Constructor Summary | |
|---|---|
JMXThresholder()
Deprecated. |
|
| Method Summary | |
|---|---|
int |
check(ThresholdNetworkInterface iface,
EventProxy eproxy,
Map parameters)
Deprecated. Invokes threshold checking on the object. |
void |
initialize(Map parameters)
Deprecated. initialize |
void |
initialize(ThresholdNetworkInterface iface,
Map parameters)
Deprecated. initialize |
void |
reinitialize()
Deprecated. reinitialize |
void |
release()
Deprecated. Responsible for freeing up any resources held by the thresholder. |
void |
release(ThresholdNetworkInterface iface)
Deprecated. release |
String |
serviceName()
Deprecated. Returns the name of the service that the plug-in collects ("SNMP"). |
void |
setServiceName(String name)
Deprecated. Setter for the field serviceName. |
void |
setUseFriendlyName(boolean useFriendlyName)
Deprecated. Setter for the field useFriendlyName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXThresholder()
| Method Detail |
|---|
public void setServiceName(String name)
Setter for the field serviceName.
name - a String object.public String serviceName()
Returns the name of the service that the plug-in collects ("SNMP").
public void initialize(Map parameters)
initialize
Initialize the service thresholder.
initialize in interface ServiceThresholderparameters - a Map object.
RuntimeException - Thrown if an unrecoverable error occurs that prevents the
plug-in from functioning.public void reinitialize()
reinitialize
reinitialize in interface ServiceThresholderpublic void release()
release in interface ServiceThresholder
public void initialize(ThresholdNetworkInterface iface,
Map parameters)
initialize
Responsible for performing all necessary initialization for the specified interface in preparation for thresholding.
initialize in interface ServiceThresholderiface - a ThresholdNetworkInterface object.parameters - a Map object.public void release(ThresholdNetworkInterface iface)
release
Responsible for releasing any resources associated with the specified interface.
release in interface ServiceThresholderiface - a ThresholdNetworkInterface object.
public int check(ThresholdNetworkInterface iface,
EventProxy eproxy,
Map parameters)
Invokes threshold checking on the object.
Perform threshold checking.
check in interface ServiceThresholderiface - a ThresholdNetworkInterface object.eproxy - a EventProxy object.parameters - a Map object.
public void setUseFriendlyName(boolean useFriendlyName)
Setter for the field useFriendlyName.
useFriendlyName - a boolean.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||