@NotThreadSafe public class ThreadDeadlockDetectionTimer extends ThreadDeadlockDetector implements IStoppable
ThreadDeadlockDetector internally.| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_DEADLOCK_CHECK_PERIOD
The number of milliseconds between checking for deadlocks.
|
static long |
INITIAL_DELAY_MS |
| Constructor and Description |
|---|
ThreadDeadlockDetectionTimer() |
ThreadDeadlockDetectionTimer(long nDeadlockCheckPeriod) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
stop()
Stop the deadlock detection task
|
callbacks, findDeadlockedThreadspublic static final long DEFAULT_DEADLOCK_CHECK_PERIOD
public static final long INITIAL_DELAY_MS
public ThreadDeadlockDetectionTimer()
public ThreadDeadlockDetectionTimer(@Nonnegative long nDeadlockCheckPeriod)
@Nonnull public EChange stop()
stop in interface IStoppableEChangeCopyright © 2014–2019 Philip Helger. All rights reserved.