com.yammer.metrics.core
Class VirtualMachineMetrics
java.lang.Object
com.yammer.metrics.core.VirtualMachineMetrics
public class VirtualMachineMetrics
- extends Object
A collection of Java Virtual Machine metrics.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_STACK_TRACE_DEPTH
private static final int MAX_STACK_TRACE_DEPTH
- See Also:
- Constant Field Values
VirtualMachineMetrics
public VirtualMachineMetrics()
registerVMStates
public static void registerVMStates(InApplicationMonitor inApplicationMonitor)
getGarbageCollectors
public Map<String,VirtualMachineMetrics.GarbageCollectorStats> getGarbageCollectors()
- Returns a map of garbage collector names to garbage collector information.
- Returns:
- a map of garbage collector names to garbage collector information
getThreadStatePercentages
public Map<Thread.State,Double> getThreadStatePercentages()
- Returns a map of thread states to the percentage of all threads which are in that state.
- Returns:
- a map of thread states to percentages
getBufferPoolStats
public Map<String,VirtualMachineMetrics.BufferPoolStats> getBufferPoolStats()
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.