net.java.dev.moskito.core.stats.impl
Class AbstractValueHolder

java.lang.Object
  extended by 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.
 
Constructor Summary
protected AbstractValueHolder(Interval aInterval)
          This is the constructor.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.java.dev.moskito.core.stats.IIntervalListener
intervalUpdated
 
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
 

Field Detail

interval

private Interval interval
This is the Interval this ValueHolder is responsible for.

Constructor Detail

AbstractValueHolder

protected AbstractValueHolder(Interval aInterval)
This is the constructor.

Parameters:
aInterval - the Interval
Method Detail

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