com.yammer.metrics.core
Class VirtualMachineMetrics

java.lang.Object
  extended by com.yammer.metrics.core.VirtualMachineMetrics

public class VirtualMachineMetrics
extends Object

A collection of Java Virtual Machine metrics.


Nested Class Summary
static class VirtualMachineMetrics.BufferPoolStats
          The management interface for a buffer pool, for example a pool of direct or mapped buffers.
static class VirtualMachineMetrics.GarbageCollectorStats
          Per-GC statistics.
 
Field Summary
private static int MAX_STACK_TRACE_DEPTH
           
 
Constructor Summary
VirtualMachineMetrics()
           
 
Method Summary
 Map<String,VirtualMachineMetrics.BufferPoolStats> getBufferPoolStats()
           
 Map<String,VirtualMachineMetrics.GarbageCollectorStats> getGarbageCollectors()
          Returns a map of garbage collector names to garbage collector information.
 Map<Thread.State,Double> getThreadStatePercentages()
          Returns a map of thread states to the percentage of all threads which are in that state.
static void registerVMStates(InApplicationMonitor inApplicationMonitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_STACK_TRACE_DEPTH

private static final int MAX_STACK_TRACE_DEPTH
See Also:
Constant Field Values
Constructor Detail

VirtualMachineMetrics

public VirtualMachineMetrics()
Method Detail

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.