de.is24.util.monitoring.tools
Class VirtualMachineMetrics

java.lang.Object
  extended by de.is24.util.monitoring.tools.VirtualMachineMetrics

public class VirtualMachineMetrics
extends Object

A collection of Java Virtual Machine metrics. This code was originally taken from de.is24.util.monitoring.tools.VirtualMachineMetrics


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 org.apache.log4j.Logger LOGGER
           
private static int MAX_STACK_TRACE_DEPTH
           
 
Constructor Summary
VirtualMachineMetrics()
           
 
Method Summary
 Map<String,VirtualMachineMetrics.BufferPoolStats> getBufferPoolStats()
           
 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(CorePlugin corePlugin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final org.apache.log4j.Logger LOGGER

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(CorePlugin corePlugin)

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.