Class ThreadDeadlockDetectionTimer

java.lang.Object
com.helger.commons.deadlock.ThreadDeadlockDetector
com.helger.commons.deadlock.ThreadDeadlockDetectionTimer
All Implemented Interfaces:
IStoppable

@NotThreadSafe public class ThreadDeadlockDetectionTimer extends ThreadDeadlockDetector implements IStoppable
A dead lock detection timer that checks for dead locks in a certain interval. Uses ThreadDeadlockDetector internally.
Author:
Philip Helger
  • Field Details

    • DEFAULT_DEADLOCK_CHECK_PERIOD

      public static final long DEFAULT_DEADLOCK_CHECK_PERIOD
      The number of milliseconds between checking for deadlocks. It may be expensive to check for deadlocks, and it is not critical to know so quickly.
      See Also:
    • INITIAL_DELAY_MS

      public static final long INITIAL_DELAY_MS
      See Also:
  • Constructor Details

    • ThreadDeadlockDetectionTimer

      public ThreadDeadlockDetectionTimer()
    • ThreadDeadlockDetectionTimer

      public ThreadDeadlockDetectionTimer(@Nonnegative long nDeadlockCheckPeriod)
  • Method Details