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.
@FunctionalInterface public interface IThreadDeadlockCallback extends ICallback
This is called whenever a problem with threads is detected.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonDeadlockDetected(ThreadDeadlockInfo[] aDeadlockedThreads)Callback to be invoked on a deadlock
-
-
-
Method Detail
-
onDeadlockDetected
void onDeadlockDetected(@Nonnull @Nonempty ThreadDeadlockInfo[] aDeadlockedThreads)
Callback to be invoked on a deadlock- Parameters:
aDeadlockedThreads- Information on the dead-locked threads. Neithernullnor empty.
-
-