| |
|
| java.lang.Object com.jamonapi.NullAccumulateMonitor
NullAccumulateMonitor | public class NullAccumulateMonitor implements AccumulateMonitorInterface(Code) | | Null implementation of the AccumulateMonitorInterface. Null objects are discussed in Martin Fowler's refactoring book.
The NullAccumulateMonitor is a singleton (Gang of 4 pattern) and is used when the MonitorFactory is disabled. So when
the MonitorFactory is disabled resource usage is very low and performance is very fast.
All methods have empty/do nothing implementations.
|
NullAccumulateMonitor | NullAccumulateMonitor()(Code) | | |
getAccrued | public long getAccrued()(Code) | | |
increase | public void increase(long increaseValue)(Code) | | |
increase | public void increase()(Code) | | |
isPrimary | public boolean isPrimary()(Code) | | |
reset | public void reset()(Code) | | |
setPrimary | public void setPrimary(boolean primary)(Code) | | |
start | public void start()(Code) | | |
|
|
|