com.caucho.server.admin
Class JniVmStat

java.lang.Object
  extended by com.caucho.server.admin.JniVmStat

public class JniVmStat
extends java.lang.Object

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


Nested Class Summary
 class JniVmStat.VmProbe
           
 
Field Summary
static int VM_RSS
           
static int VM_SIZE
           
 
Method Summary
static JniVmStat create()
           
 AbstractMeter createActiveMeter(java.lang.String name, int type)
           
static boolean isEnabled()
           
 double sampleVm(int type)
           
 void setSamplePeriod(long period)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VM_SIZE

public static final int VM_SIZE
See Also:
Constant Field Values

VM_RSS

public static final int VM_RSS
See Also:
Constant Field Values
Method Detail

create

public static JniVmStat create()

isEnabled

public static boolean isEnabled()

setSamplePeriod

public void setSamplePeriod(long period)

createActiveMeter

public AbstractMeter createActiveMeter(java.lang.String name,
                                       int type)

sampleVm

public double sampleVm(int type)