KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > monitor > MX4JGaugeMonitorMBean


1 /*
2  * Copyright (C) The MX4J Contributors.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the MX4J License version 1.0.
6  * See the terms of the MX4J License in the documentation provided with this software.
7  */

8
9 package mx4j.monitor;
10
11 import javax.management.ObjectName JavaDoc;
12
13 /**
14  * @version $Revision: 1.3 $
15  */

16 public interface MX4JGaugeMonitorMBean extends MX4JMonitorMBean
17 {
18    public Number JavaDoc getDerivedGauge(ObjectName JavaDoc objectName);
19
20    public long getDerivedGaugeTimeStamp(ObjectName JavaDoc objectName);
21
22    public Number JavaDoc getHighThreshold();
23
24    public Number JavaDoc getLowThreshold();
25
26    public void setThresholds(Number JavaDoc highValue, Number JavaDoc lowValue) throws IllegalArgumentException JavaDoc;
27
28    public boolean getNotifyHigh();
29
30    public void setNotifyHigh(boolean value);
31
32    public boolean getNotifyLow();
33
34    public void setNotifyLow(boolean value);
35
36    public boolean getDifferenceMode();
37
38    public void setDifferenceMode(boolean value);
39 }
40
Popular Tags