public class ThreadWarningSystem extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
ThreadWarningSystem.Listener
This is called whenever a problem with threads is detected.
|
Constructor and Description |
---|
ThreadWarningSystem()
Monitor only deadlocks.
|
ThreadWarningSystem(int threadThreshold)
Monitor deadlocks and the number of threads.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addListener(ThreadWarningSystem.Listener l) |
boolean |
removeListener(ThreadWarningSystem.Listener l) |
public ThreadWarningSystem()
public ThreadWarningSystem(int threadThreshold)
public boolean addListener(ThreadWarningSystem.Listener l)
public boolean removeListener(ThreadWarningSystem.Listener l)
Copyright © 2024 GATE. All rights reserved.