1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.commsen.stopwatch.jmx;
18
19 import com.commsen.stopwatch.Report;
20
21 public interface StopwatchManagerMBean {
22
23 public void start ();
24
25 public void stop ();
26
27 public void reset ();
28
29 public Report[] getReports (String group, String label);
30
31 public long[] getLoadReports (String group, String label, int periodField, int numberOfPeriods);
32
33 public String getReportsAsXML (String group, String label);
34
35 public String getReportsAsString (String group, String label);
36
37
38 public boolean isDebug();
39 public void setDebug(boolean debug);
40
41 public String getEngine();
42 public void setEngine(String engine);
43
44 public String getStorage();
45 public void setStorage(String storage);
46
47 public boolean isActive();
48
49 public boolean isChanged();
50
51 }