public class VMUsage extends Metric
Metric that observes memory usage and number of
threads for the VM.intervalSeconds, startTime, totalIntervals| Modifier and Type | Method and Description |
|---|---|
void |
add(int inCount)
Take a sample of the current values from the VM.
|
int |
getActiveThreads()
Gets the activeThreads attribute of the VMUsage object
|
int |
getActiveThreadsMaximum()
Gets the activeThreadsMaximum attribute of the VMUsage object
|
float |
getActiveThreadsMean()
Gets the activeThreadsMean attribute of the VMUsage object
|
int |
getActiveThreadsMinimum()
Gets the activeThreadsMinimum attribute of the VMUsage object
|
long |
getCount()
Gets the total count of events.
|
long |
getFreeMemory()
Gets the freeMemory attribute of the VMUsage object
|
long |
getFreeMemoryMaximum()
Gets the freeMemoryMaximum attribute of the VMUsage object
|
double |
getFreeMemoryMean()
Gets the freeMemoryMean attribute of the VMUsage object
|
long |
getFreeMemoryMinimum()
Gets the freeMemoryMinimum attribute of the VMUsage object
|
int |
getSampleCount()
Gets the sampleCount attribute of the VMUsage object
|
long |
getTotalIntervals()
Gets the totalIntervals attribute of the VMUsage object
|
long |
getTotalMemory()
Gets the totalMemory attribute of the VMUsage object
|
long |
getTotalMemoryMaximum()
Gets the totalMemoryMaximum attribute of the VMUsage object
|
double |
getTotalMemoryMean()
Gets the totalMemoryMean attribute of the VMUsage object
|
long |
getTotalMemoryMinimum()
Gets the totalMemoryMinimum attribute of the VMUsage object
|
void |
reset()
Reset this
Metric to its "zero" condition. |
add, getAge, getAgeMillis, getIntervalSeconds, getLabel, setLabel, uptimepublic VMUsage(String inLabel)
public void reset()
MetricMetric to its "zero" condition.public int getSampleCount()
public int getActiveThreads()
public int getActiveThreadsMinimum()
public int getActiveThreadsMaximum()
public float getActiveThreadsMean()
public long getFreeMemory()
public long getFreeMemoryMinimum()
public long getFreeMemoryMaximum()
public double getFreeMemoryMean()
public long getTotalMemory()
public long getTotalMemoryMinimum()
public long getTotalMemoryMaximum()
public double getTotalMemoryMean()
public long getTotalIntervals()
getTotalIntervals in class Metricpublic void add(int inCount)
Copyright © 2015. All rights reserved.