com.caucho.server.admin
Class JniVmStat
java.lang.Object
com.caucho.server.admin.JniVmStat
public class JniVmStat
- extends java.lang.Object
Statistics gathering attribute. Each time period, the attribute is polled.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)