public abstract class JMXThresholder extends Object implements ServiceThresholder
The JMXThresholder class ...
statusType, THRESHOLDING_FAILED, THRESHOLDING_SUCCEEDED, THRESHOLDING_UNKNOWN
Constructor and Description |
---|
JMXThresholder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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 . |
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 ServiceThresholder
parameters
- a Map
object.RuntimeException
- Thrown if an unrecoverable error occurs that prevents the
plug-in from functioning.public void reinitialize()
reinitialize
reinitialize
in interface ServiceThresholder
public 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 ServiceThresholder
iface
- 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 ServiceThresholder
iface
- a ThresholdNetworkInterface
object.public int check(ThresholdNetworkInterface iface, EventProxy eproxy, Map<?,?> parameters)
Invokes threshold checking on the object.
Perform threshold checking.check
in interface ServiceThresholder
iface
- a ThresholdNetworkInterface
object.eproxy
- a EventProxy
object.parameters
- a Map
object.public void setUseFriendlyName(boolean useFriendlyName)
Setter for the field useFriendlyName
.
useFriendlyName
- a boolean.Copyright © 2015. All Rights Reserved.