org.opennms.netmgt.threshd
Interface ServiceThresholder

All Known Implementing Classes:
JBossThresholder, JMXThresholder, Jsr160Thresholder, SnmpThresholder

public interface ServiceThresholder

The Thresholder class...

Author:
Mike , OpenNMS

Field Summary
static String[] statusType
           
static int THRESHOLDING_FAILED
           
static int THRESHOLDING_SUCCEEDED
           
static int THRESHOLDING_UNKNOWN
          Status of the thresholder object.
 
Method Summary
 int check(ThresholdNetworkInterface iface, EventProxy eproxy, Map parameters)
           Invokes threshold checking on the object.
 void initialize(Map parameters)
           
 void initialize(ThresholdNetworkInterface iface, Map parameters)
           
 void reinitialize()
          Called when configurations have changed and need to be refreshed at the ServiceThresolder level.
 void release()
           
 void release(ThresholdNetworkInterface iface)
           
 

Field Detail

THRESHOLDING_UNKNOWN

static final int THRESHOLDING_UNKNOWN
Status of the thresholder object.

See Also:
Constant Field Values

THRESHOLDING_SUCCEEDED

static final int THRESHOLDING_SUCCEEDED
See Also:
Constant Field Values

THRESHOLDING_FAILED

static final int THRESHOLDING_FAILED
See Also:
Constant Field Values

statusType

static final String[] statusType
Method Detail

initialize

void initialize(Map parameters)

reinitialize

void reinitialize()
Called when configurations have changed and need to be refreshed at the ServiceThresolder level. Should not do a "full" initialization, but just reload any config objects that might have incorrect cached data. It is up to the caller to call "release/initialize" for any interfaces that need reinitialization, and it is recommended to do so *after* calling reinitialize(), so that any objects that might be used in initializing the interfaces have been reloaded.


release

void release()

initialize

void initialize(ThresholdNetworkInterface iface,
                Map parameters)

release

void release(ThresholdNetworkInterface iface)

check

int check(ThresholdNetworkInterface iface,
          EventProxy eproxy,
          Map parameters)

Invokes threshold checking on the object.



Copyright © 2009. All Rights Reserved.