mx4j.monitor

Class MX4JGaugeMonitor

public class MX4JGaugeMonitor extends MX4JMonitor implements MX4JGaugeMonitorMBean

Version: $Revision: 1.3 $

Nested Class Summary
protected classMX4JGaugeMonitor.GaugeMonitorInfo
Constructor Summary
MX4JGaugeMonitor()
protected MX4JGaugeMonitor(Class management)
Method Summary
protected intcompare(Number left, Number right)
protected MonitorInfocreateMonitorInfo()
NumbergetDerivedGauge(ObjectName objectName)
longgetDerivedGaugeTimeStamp(ObjectName objectName)
booleangetDifferenceMode()
NumbergetHighThreshold()
NumbergetLowThreshold()
MBeanNotificationInfo[]getNotificationInfo()
booleangetNotifyHigh()
booleangetNotifyLow()
protected voidmonitor(ObjectName name, String attribute, Object value, MonitorInfo monitorInfo)
voidsetDifferenceMode(boolean differenceMode)
voidsetNotifyHigh(boolean notifyHigh)
voidsetNotifyLow(boolean notifyLow)
voidsetThresholds(Number highValue, Number lowValue)
protected Numbersub(Number left, Number right)

Constructor Detail

MX4JGaugeMonitor

public MX4JGaugeMonitor()

MX4JGaugeMonitor

protected MX4JGaugeMonitor(Class management)

Method Detail

compare

protected int compare(Number left, Number right)

createMonitorInfo

protected MonitorInfo createMonitorInfo()

getDerivedGauge

public Number getDerivedGauge(ObjectName objectName)

getDerivedGaugeTimeStamp

public long getDerivedGaugeTimeStamp(ObjectName objectName)

getDifferenceMode

public boolean getDifferenceMode()

getHighThreshold

public Number getHighThreshold()

getLowThreshold

public Number getLowThreshold()

getNotificationInfo

public MBeanNotificationInfo[] getNotificationInfo()

getNotifyHigh

public boolean getNotifyHigh()

getNotifyLow

public boolean getNotifyLow()

monitor

protected void monitor(ObjectName name, String attribute, Object value, MonitorInfo monitorInfo)

setDifferenceMode

public void setDifferenceMode(boolean differenceMode)

setNotifyHigh

public void setNotifyHigh(boolean notifyHigh)

setNotifyLow

public void setNotifyLow(boolean notifyLow)

setThresholds

public void setThresholds(Number highValue, Number lowValue)

sub

protected Number sub(Number left, Number right)
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.