public class BlockedThreadDetector extends Detector
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BLOCKED_THREAD_THRESHOLD |
static long |
DEFAULT_SLEEP_INTERVAL |
| Constructor and Description |
|---|
BlockedThreadDetector(Notifier notifier,
int nbrBlockedThreadThreashold) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
protected void |
sendBlockedThreadNotice(java.util.Set<java.lang.management.ThreadInfo> waitingForLockSet,
java.util.Set<java.lang.management.ThreadInfo> holdingLockSet,
java.util.Set<java.lang.management.ThreadInfo> alsoBlockedLastIntervalSet) |
getNotifier, sendMessagepublic static final long DEFAULT_SLEEP_INTERVAL
public static final int DEFAULT_BLOCKED_THREAD_THRESHOLD
public BlockedThreadDetector(Notifier notifier, int nbrBlockedThreadThreashold)
public void run()
protected void sendBlockedThreadNotice(java.util.Set<java.lang.management.ThreadInfo> waitingForLockSet,
java.util.Set<java.lang.management.ThreadInfo> holdingLockSet,
java.util.Set<java.lang.management.ThreadInfo> alsoBlockedLastIntervalSet)
Copyright © 2015 The Admin4J Project. All Rights Reserved.