org.databene.contiperf.sensor
Class MemorySensor

java.lang.Object
  extended by org.databene.contiperf.sensor.MemorySensor

public class MemorySensor
extends Object

Tracks the consumed heap size.

Created: 13.12.2012 13:31:56

Since:
2.3.1
Author:
Volker Bergmann

Constructor Summary
MemorySensor()
           
 
Method Summary
static MemorySensor getInstance()
           
 int getInterval()
           
 long getMaxCommittedHeapSize()
           
 long getMaxUsedHeapSize()
           
 void measure()
           
 void reset()
           
 void setInterval(int interval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MemorySensor

public MemorySensor()
Method Detail

getInstance

public static MemorySensor getInstance()

getInterval

public int getInterval()

setInterval

public void setInterval(int interval)

getMaxUsedHeapSize

public long getMaxUsedHeapSize()

getMaxCommittedHeapSize

public long getMaxCommittedHeapSize()

reset

public void reset()

measure

public void measure()


Copyright © 2013. All Rights Reserved.