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 CounterMonitorMBean extends MonitorMBean {
17: /**
18: * @deprecated
19: */
20: public Number getDerivedGauge();
21:
22: /**
23: * @deprecated
24: */
25: public long getDerivedGaugeTimeStamp();
26:
27: /**
28: * @deprecated
29: */
30: public Number getThreshold();
31:
32: /**
33: * @deprecated
34: */
35: public void setThreshold(Number value)
36: throws java.lang.IllegalArgumentException;
37:
38: public Number getDerivedGauge(ObjectName objectName);
39:
40: public long getDerivedGaugeTimeStamp(ObjectName objectName);
41:
42: public Number getThreshold(ObjectName objectName);
43:
44: public Number getInitThreshold();
45:
46: public void setInitThreshold(Number value)
47: throws IllegalArgumentException;
48:
49: public Number getOffset();
50:
51: public void setOffset(Number value) throws IllegalArgumentException;
52:
53: public Number getModulus();
54:
55: public void setModulus(Number value)
56: throws java.lang.IllegalArgumentException;
57:
58: public boolean getNotify();
59:
60: public void setNotify(boolean value);
61:
62: public boolean getDifferenceMode();
63:
64: public void setDifferenceMode(boolean value);
65: }
|