Class ConstantStatAttribute

  extended by com.caucho.env.meter.AbstractMeter
      extended by com.caucho.server.admin.ConstantStatAttribute
All Implemented Interfaces:

public class ConstantStatAttribute
extends AbstractMeter

Statistics gathering attribute. Each time period, the attribute is polled.

Method Summary
 double sample()
          Polls the statistics attribute.
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

Method Detail


public double sample()
Polls the statistics attribute.

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