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 Detail

      • onDeadlockDetected

        void onDeadlockDetected​(@Nonnull @Nonempty
                                ThreadDeadlockInfo[] aDeadlockedThreads)
        Callback to be invoked on a deadlock
        Parameters:
        aDeadlockedThreads - Information on the dead-locked threads. Neither null nor empty.