| |
|
| java.lang.Object com.jamonapi.Monitor com.jamonapi.BaseMonitor com.jamonapi.TimingMonitor
TimingMonitor | public class TimingMonitor extends BaseMonitor implements LeafNode(Code) | | This is the Monitor class that starts the decorator chain of Monitors. It tracks the time for this monitor and passes the time
down the chain to the other Monitors, so they can track the other statistics.
|
hasChildren | boolean hasChildren(Code) | | |
isRunningFlag | boolean isRunningFlag(Code) | | |
TimingMonitor | TimingMonitor()(Code) | | |
getAccrued | public long getAccrued()(Code) | | Returns the time that the Monitor has been running *
|
increase | public void increase(long increaseValue)(Code) | | increase the time by the specified ammount of milliseconds. Typically this will not be called. *
|
isPrimary | public boolean isPrimary()(Code) | | |
reset | public void reset()(Code) | | Resets the accrued time and restarts the Monitor *
|
setPrimary | public void setPrimary(boolean primary)(Code) | | |
stop | public Monitor stop()(Code) | | Stop the Monitor and keep track of how long it was running. Call the next Monitor in the Monitor decorator chain *
|
|
|
|