com.caucho.admin
Class StatAttribute

java.lang.Object
  extended by com.caucho.admin.StatAttribute

public class StatAttribute
extends java.lang.Object

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


Constructor Summary
protected StatAttribute(java.lang.String name)
           
 
Method Summary
 java.lang.String getName()
          Returns the attribute's official name
 long pollValue()
          Polls the statistics attribute.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StatAttribute

protected StatAttribute(java.lang.String name)
Method Detail

getName

public final java.lang.String getName()
Returns the attribute's official name


pollValue

public long pollValue()
Polls the statistics attribute.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object