Package com.helger.commons.deadlock
Interface IThreadDeadlockCallback
- All Superinterfaces:
ICallback
- All Known Implementing Classes:
LoggingThreadDeadlockCallback
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This is called whenever a problem with threads is detected.
- Author:
- Philip Helger
-
Method Summary
Modifier and TypeMethodDescriptionvoidonDeadlockDetected(ThreadDeadlockInfo[] aDeadlockedThreads) Callback to be invoked on a deadlock
-
Method Details
-
onDeadlockDetected
Callback to be invoked on a deadlock- Parameters:
aDeadlockedThreads- Information on the dead-locked threads. Neithernullnor empty.
-