com.jamonapi
Interface AccumulateMonitorInterface

All Superinterfaces:
MinimalMonitor
All Known Implementing Classes:
AccumulateMonitor, NullAccumulateMonitor

public interface AccumulateMonitorInterface
extends MinimalMonitor

This is very similar to the Monitor interface. Truthfully, I don't remember why I used it as it.


Method Summary
 void increase()
          increase the stored value for this Monitor
 boolean isPrimary()
          indicates whether or not this Monitor is primary or not.
 void setPrimary(boolean primary)
          Specify whether or not this Monitor is primary.
 void start()
          start() gathering statistics for this Monitor
 void stop()
          stop() gathering statistics for this Monitor
 
Methods inherited from interface com.jamonapi.MinimalMonitor
getAccrued, getData, getHeader, increase, reset
 

Method Detail

start

public void start()
start() gathering statistics for this Monitor


stop

public void stop()
stop() gathering statistics for this Monitor


increase

public void increase()
increase the stored value for this Monitor


isPrimary

public boolean isPrimary()
indicates whether or not this Monitor is primary or not. See www.jamonapi.com for more info


setPrimary

public void setPrimary(boolean primary)
Specify whether or not this Monitor is primary. See www.jamonapi.com for more info