net.java.dev.moskito.core.stats.impl
Class AbstractValueHolder
java.lang.Object
net.java.dev.moskito.core.stats.impl.AbstractValueHolder
- All Implemented Interfaces:
- IIntervalListener, ValueHolder
- Direct Known Subclasses:
- IntValueHolder, LongValueHolder
abstract class AbstractValueHolder
- extends Object
- implements IIntervalListener, ValueHolder
This abstract class implements the super class of any type-specific holder
implementation and declares the interface to support some basic mathematical operations
needed for statistical aggregations.
- Author:
- dvayanu
|
Field Summary |
private Interval |
interval
This is the Interval this ValueHolder is responsible for. |
| Methods inherited from interface net.java.dev.moskito.core.stats.ValueHolder |
decrease, decreaseByDouble, decreaseByInt, decreaseByLong, getCurrentValueAsDouble, getCurrentValueAsInt, getCurrentValueAsLong, getValueAsDouble, getValueAsInt, getValueAsLong, increase, increaseByDouble, increaseByInt, increaseByLong, reset, setDefaultValueAsDouble, setDefaultValueAsInt, setDefaultValueAsLong, setValueAsDouble, setValueAsInt, setValueAsLong |
interval
private Interval interval
- This is the Interval this ValueHolder is responsible for.
AbstractValueHolder
protected AbstractValueHolder(Interval aInterval)
- This is the constructor.
- Parameters:
aInterval - the Interval
toString
public String toString()
- Overrides:
toString in class Object
- See Also:
Object.toString()
Copyright © 2006 MoSKito Project Team. All Rights Reserved.
MoSKito, the open source java monitoring framework