com.caucho.env.meter
Class SampleCountMeter

java.lang.Object
  extended by com.caucho.env.meter.AbstractMeter
      extended by com.caucho.env.meter.SampleCountMeter
All Implemented Interfaces:
Meter

public final class SampleCountMeter
extends AbstractMeter


Constructor Summary
SampleCountMeter(java.lang.String name)
           
 
Method Summary
 void addData()
           
 double sample()
          Return the probe's next sample.
 
Methods inherited from class com.caucho.env.meter.AbstractMeter
getName, peek, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SampleCountMeter

public SampleCountMeter(java.lang.String name)
Method Detail

addData

public final void addData()

sample

public final double sample()
Return the probe's next sample.

Specified by:
sample in interface Meter
Specified by:
sample in class AbstractMeter