|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.api.debugger.jpda.ThreadsCollector
public abstract class ThreadsCollector
Collector of threads running inside the debuggee. Fires changes when threads change.
Since JDI interfaces evolve from one version to another, it's strongly recommended not to implement this abstract class in client code. New methods can be added to this class at any time to keep up with the JDI functionality.
Field Summary | |
---|---|
static String |
PROP_THREAD_DIED
Property name constant. |
static String |
PROP_THREAD_GROUP_ADDED
Property name constant. |
static String |
PROP_THREAD_RESUMED
Property name constant. |
static String |
PROP_THREAD_STARTED
Property name constant. |
static String |
PROP_THREAD_SUSPENDED
Property name constant. |
Constructor Summary | |
---|---|
ThreadsCollector()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Add a PropertyChangeListener to be notified about threads changes. |
protected void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
|
abstract List<JPDAThread> |
getAllThreads()
Returns all threads that exist in the debuggee. |
abstract DeadlockDetector |
getDeadlockDetector()
Creates a deadlock detector. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a PropertyChangeListener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_THREAD_STARTED
public static final String PROP_THREAD_DIED
public static final String PROP_THREAD_GROUP_ADDED
public static final String PROP_THREAD_SUSPENDED
public static final String PROP_THREAD_RESUMED
Constructor Detail |
---|
public ThreadsCollector()
Method Detail |
---|
public final void addPropertyChangeListener(PropertyChangeListener l)
l
- The listenerpublic final void removePropertyChangeListener(PropertyChangeListener l)
l
- The listenerprotected final void firePropertyChange(String propertyName, Object oldValue, Object newValue)
public abstract List<JPDAThread> getAllThreads()
public abstract DeadlockDetector getDeadlockDetector()
|
org.netbeans.api.debugger.jpda/2 2.31.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |