Rio Project 4.2 API Documentation
org.rioproject.watch
Class ThreadDeadlockMonitor
java.lang.Object
org.rioproject.watch.ThreadDeadlockMonitor
public class ThreadDeadlockMonitor
- extends Object
Monitor thread deadlocks for a Java Virtual Machine.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
ACCESSOR
public static final String ACCESSOR
- See Also:
- Constant Field Values
ThreadDeadlockMonitor
public ThreadDeadlockMonitor()
setThreadMXBean
public void setThreadMXBean(ThreadMXBean threadMXBean)
getThreadDeadlockCalculable
public Calculable getThreadDeadlockCalculable()
getWatchDescriptor
public static WatchDescriptor getWatchDescriptor()
- Get the default
WatchDescriptor for this
utility. This allows the ThreadDeadlockMonitor to be used
by the SLA framework.
- Returns:
- A WatchDescriptor set to poll every 5 seconds, checking
if any threads are deadlocked.
Copyright © 2006-2011 Rio Project. All Rights Reserved.