com.caucho.server.admin
Class JniNetStat.NetProbe

java.lang.Object
  extended by com.caucho.env.meter.AbstractMeter
      extended by com.caucho.server.admin.JniNetStat.NetProbe
All Implemented Interfaces:
Meter
Enclosing class:
JniNetStat

public class JniNetStat.NetProbe
extends AbstractMeter


Method Summary
 double peek()
          Returns the current value.
 double sample()
          Return the meter's next sample, resetting any counters for the next sample.
 
Methods inherited from class com.caucho.env.meter.AbstractMeter
getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

sample

public double sample()
Description copied from class: AbstractMeter
Return the meter's next sample, resetting any counters for the next sample.

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

peek

public double peek()
Description copied from class: AbstractMeter
Returns the current value.

Specified by:
peek in interface Meter
Overrides:
peek in class AbstractMeter