1 11 package com.sun.jdi; 12 13 14 import java.util.List ; 15 16 public interface ThreadReference extends ObjectReference { 17 public static final int THREAD_STATUS_UNKNOWN = -1; 18 public static final int THREAD_STATUS_ZOMBIE = 0; 19 public static final int THREAD_STATUS_RUNNING = 1; 20 public static final int THREAD_STATUS_SLEEPING = 2; 21 public static final int THREAD_STATUS_MONITOR = 3; 22 public static final int THREAD_STATUS_WAIT = 4; 23 public static final int THREAD_STATUS_NOT_STARTED = 5; 24 public ObjectReference currentContendedMonitor() throws IncompatibleThreadStateException; 25 public StackFrame frame(int arg1) throws IncompatibleThreadStateException; 26 public int frameCount() throws IncompatibleThreadStateException; 27 public List frames() throws IncompatibleThreadStateException; 28 public List frames(int arg1, int arg2) throws IncompatibleThreadStateException; 29 public void interrupt(); 30 public boolean isAtBreakpoint(); 31 public boolean isSuspended(); 32 public String name(); 33 public List ownedMonitors() throws IncompatibleThreadStateException; 34 public void popFrames(StackFrame frame) throws IncompatibleThreadStateException; 35 public void resume(); 36 public int status(); 37 public void stop(ObjectReference arg1) throws InvalidTypeException; 38 public void suspend(); 39 public int suspendCount(); 40 public ThreadGroupReference threadGroup(); 41 public void forceEarlyReturn(Value arg1) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException; 42 public List ownedMonitorsAndFrames()throws IncompatibleThreadStateException; 43 } 44 | Popular Tags |