org.eclipse.jetty.monitor.integration
Class JavaMonitorTools

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

public class JavaMonitorTools
extends 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()
           
 String getCacheNegativeTweakedFrom()
           
 int getCacheSeconds()
           
 String getCacheTweakedFrom()
           
 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 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 ClassNotFoundException,
                           IllegalAccessException,
                           InvocationTargetException,
                           NoSuchMethodException
Throws:
ClassNotFoundException
IllegalAccessException
InvocationTargetException
NoSuchMethodException

getCacheNegativeSeconds

public int getCacheNegativeSeconds()
                            throws ClassNotFoundException,
                                   IllegalAccessException,
                                   InvocationTargetException,
                                   NoSuchMethodException
Throws:
ClassNotFoundException
IllegalAccessException
InvocationTargetException
NoSuchMethodException

getCacheTweakedFrom

public String getCacheTweakedFrom()

getCacheNegativeTweakedFrom

public String getCacheNegativeTweakedFrom()


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.