01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package javax.management.monitor;
10:
11: import javax.management.ObjectName;
12:
13: /**
14: * @version $Revision: 1.7 $
15: */
16: public interface GaugeMonitorMBean extends MonitorMBean {
17: /**
18: * @deprecated
19: */
20: public Number getDerivedGauge();
21:
22: /**
23: * @deprecated
24: */
25: public long getDerivedGaugeTimeStamp();
26:
27: public Number getDerivedGauge(ObjectName objectName);
28:
29: public long getDerivedGaugeTimeStamp(ObjectName objectName);
30:
31: public Number getHighThreshold();
32:
33: public Number getLowThreshold();
34:
35: public void setThresholds(Number highValue, Number lowValue)
36: throws IllegalArgumentException;
37:
38: public boolean getNotifyHigh();
39:
40: public void setNotifyHigh(boolean value);
41:
42: public boolean getNotifyLow();
43:
44: public void setNotifyLow(boolean value);
45:
46: public boolean getDifferenceMode();
47:
48: public void setDifferenceMode(boolean value);
49: }
|