| com.jamonapi.MinimalMonitor
All known Subclasses: com.jamonapi.MonitorComposite, com.jamonapi.Monitor,
MinimalMonitor | public interface MinimalMonitor (Code) | | Most basic interfaces that all monitors must implement. Right now the only type of Monitors are timing related monitors, but
the interface is generic that future types may be added. For example it would be easy to add a Monitor that could track the number of
bytes sent to a client browser or something similar.
|
Method Summary | |
public long | getAccrued() Return the accrued value. | public void | getData(ArrayList rowData) Add this elements value to the ArrayList. | public void | getHeader(ArrayList header) Add this elements header value to an ArrayList. | public void | increase(long increaseValue) | public void | reset() |
getAccrued | public long getAccrued()(Code) | | Return the accrued value. In the case of timing monitors this would be the elapsed time since the timer started *
|
getData | public void getData(ArrayList rowData)(Code) | | Add this elements value to the ArrayList. This is used to display the Monitor in a tabular format. *
|
getHeader | public void getHeader(ArrayList header)(Code) | | Add this elements header value to an ArrayList. This is used to display the Monitor in a tabular format. *
|
increase | public void increase(long increaseValue)(Code) | | Increase the monitors value *
|
reset | public void reset()(Code) | | Erase the values in the monitor *
|
|
|