KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mx4j > monitor > MX4JCounterMonitorMBean


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 MX4JCounterMonitorMBean extends MX4JMonitorMBean
17 {
18    public Number JavaDoc getDerivedGauge(ObjectName JavaDoc objectName);
19
20    public long getDerivedGaugeTimeStamp(ObjectName JavaDoc objectName);
21
22    public Number JavaDoc getThreshold(ObjectName JavaDoc objectName);
23
24    public Number JavaDoc getInitThreshold();
25
26    public void setInitThreshold(Number JavaDoc value) throws IllegalArgumentException JavaDoc;
27
28    public Number JavaDoc getOffset();
29
30    public void setOffset(Number JavaDoc value) throws IllegalArgumentException JavaDoc;
31
32    public Number JavaDoc getModulus();
33
34    public void setModulus(Number JavaDoc value) throws IllegalArgumentException JavaDoc;
35
36    public boolean getNotify();
37
38    public void setNotify(boolean value);
39
40    public boolean getDifferenceMode();
41
42    public void setDifferenceMode(boolean value);
43 }
44
Popular Tags