01: package com.jamonapi;
02:
03: /** This is very similar to the Monitor interface. Truthfully, I don't remember why I used it as it. **/
04:
05: public interface AccumulateMonitorInterface extends MinimalMonitor {
06: /** start() gathering statistics for this Monitor **/
07: public void start();
08:
09: /** stop() gathering statistics for this Monitor **/
10: public void stop();
11:
12: /** increase the stored value for this Monitor **/
13: public void increase();
14:
15: /** indicates whether or not this Monitor is primary or not. See www.jamonapi.com for more info **/
16: public boolean isPrimary();
17:
18: /** Specify whether or not this Monitor is primary. See www.jamonapi.com for more info **/
19: public void setPrimary(boolean primary);
20: }
|