org.eclipse.jetty.monitor.integration
Class JavaMonitorTools

java.lang.Object
  extended by org.eclipse.jetty.monitor.integration.JavaMonitorTools

public class JavaMonitorTools
extends java.lang.Object

Derived from the JMX bean classes created by Kees Jan Koster for the java-monitor J2EE probe http://code.google.com/p/java-monitor-probes/source/browse/.

Author:
kjkoster

Constructor Summary
JavaMonitorTools()
           
 
Method Summary
 int getCacheNegativeSeconds()
           
 java.lang.String getCacheNegativeTweakedFrom()
           
 int getCacheSeconds()
           
 java.lang.String getCacheTweakedFrom()
           
 java.lang.String getDeadlockStacktraces()
           
 int getThreadsBlocked()
           
 int getThreadsNew()
           
 int getThreadsRunnable()
           
 int getThreadsTerminated()
           
 int getThreadsTimedWaiting()
           
 int getThreadsWaiting()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMonitorTools

public JavaMonitorTools()
Method Detail

getDeadlockStacktraces

public java.lang.String getDeadlockStacktraces()

getThreadsBlocked

public int getThreadsBlocked()

getThreadsNew

public int getThreadsNew()

getThreadsTerminated

public int getThreadsTerminated()

getThreadsTimedWaiting

public int getThreadsTimedWaiting()

getThreadsWaiting

public int getThreadsWaiting()

getThreadsRunnable

public int getThreadsRunnable()

getCacheSeconds

public int getCacheSeconds()
                    throws java.lang.ClassNotFoundException,
                           java.lang.IllegalAccessException,
                           java.lang.reflect.InvocationTargetException,
                           java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException

getCacheNegativeSeconds

public int getCacheNegativeSeconds()
                            throws java.lang.ClassNotFoundException,
                                   java.lang.IllegalAccessException,
                                   java.lang.reflect.InvocationTargetException,
                                   java.lang.NoSuchMethodException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException

getCacheTweakedFrom

public java.lang.String getCacheTweakedFrom()

getCacheNegativeTweakedFrom

public java.lang.String getCacheNegativeTweakedFrom()


Copyright © 2013. All Rights Reserved.