@NotThreadSafe public final class ThreadDeadlockDetectionTimer extends Object
ThreadDeadlockDetector internally.| Constructor and Description |
|---|
ThreadDeadlockDetectionTimer() |
ThreadDeadlockDetectionTimer(long nDeadlockCheckPeriod) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
addListener(IThreadDeadlockListener aListener) |
int |
getListenerCount() |
EChange |
removeAllListeners() |
EChange |
removeListener(IThreadDeadlockListener aListener) |
void |
stop()
Cancel the deadlock detection task
|
public ThreadDeadlockDetectionTimer()
public ThreadDeadlockDetectionTimer(@Nonnegative long nDeadlockCheckPeriod)
public void stop()
@Nonnull public EChange addListener(@Nonnull IThreadDeadlockListener aListener)
@Nonnull public EChange removeListener(@Nullable IThreadDeadlockListener aListener)
@Nonnegative public int getListenerCount()
Copyright © 2006–2014 phloc systems. All rights reserved.