com.caucho.env.meter
Class JmxExpr.JmxValue

java.lang.Object
  extended by com.caucho.env.meter.JmxExpr
      extended by com.caucho.env.meter.JmxExpr.JmxValue
Enclosing class:
JmxExpr

public static class JmxExpr.JmxValue
extends JmxExpr


Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.env.meter.JmxExpr
JmxExpr.JmxAdd, JmxExpr.JmxContainerExpr, JmxExpr.JmxDelta, JmxExpr.JmxRate, JmxExpr.JmxRatio, JmxExpr.JmxValue
 
Constructor Summary
JmxExpr.JmxValue()
           
 
Method Summary
 double calculate()
           
 void init()
           
protected  void sample()
          Polls the statistics attribute.
 void setAttribute(java.lang.String name)
           
 void setObjectName(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JmxExpr.JmxValue

public JmxExpr.JmxValue()
Method Detail

setObjectName

public void setObjectName(java.lang.String name)

setAttribute

public void setAttribute(java.lang.String name)

init

@PostConstruct
public void init()

sample

protected void sample()
Polls the statistics attribute.

Specified by:
sample in class JmxExpr

calculate

public double calculate()
Specified by:
calculate in class JmxExpr