blob: 02062fea7170a4b98b2a43688b061d95955f8c46 [file] [log] [blame]
package com.sun.jdi;
/*
* (c) Copyright IBM Corp. 2000, 2001.
* All Rights Reserved.
*/
import com.sun.jdi.connect.*;
import com.sun.jdi.event.*;
import com.sun.jdi.request.*;
public interface ThreadReference extends com.sun.jdi.ObjectReference {
public static final int THREAD_STATUS_UNKNOWN = -1;
public static final int THREAD_STATUS_ZOMBIE = 0;
public static final int THREAD_STATUS_RUNNING = 1;
public static final int THREAD_STATUS_SLEEPING = 2;
public static final int THREAD_STATUS_MONITOR = 3;
public static final int THREAD_STATUS_WAIT = 4;
public static final int THREAD_STATUS_NOT_STARTED = 5;
public com.sun.jdi.ObjectReference currentContendedMonitor() throws IncompatibleThreadStateException;
public com.sun.jdi.StackFrame frame(int arg1) throws IncompatibleThreadStateException;
public int frameCount() throws IncompatibleThreadStateException;
public java.util.List frames() throws IncompatibleThreadStateException;
public java.util.List frames(int arg1, int arg2) throws IncompatibleThreadStateException;
public void interrupt();
public boolean isAtBreakpoint();
public boolean isSuspended();
public String name();
public java.util.List ownedMonitors() throws IncompatibleThreadStateException;
public void resume();
public int status();
public void stop(com.sun.jdi.ObjectReference arg1) throws InvalidTypeException;
public void suspend();
public int suspendCount();
public com.sun.jdi.ThreadGroupReference threadGroup();
public void popFrames(StackFrame frame) throws IncompatibleThreadStateException;
}