Package com.helger.commons.deadlock
Class ThreadDeadlockDetector
java.lang.Object
com.helger.commons.deadlock.ThreadDeadlockDetector
- Direct Known Subclasses:
ThreadDeadlockDetectionTimer
This is the main dead lock detector, based on JMX
ThreadMXBean- Author:
- Philip Helger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidThis is the main method to be invoked to find deadlocked threads.
-
Constructor Details
-
ThreadDeadlockDetector
public ThreadDeadlockDetector()
-
-
Method Details
-
findDeadlockedThreads
public void findDeadlockedThreads()This is the main method to be invoked to find deadlocked threads. In case a deadlock is found, all registered callbacks are invoked. -
callbacks
-