Java Doc for ThreadReferenceImpl.java in  » IDE-Eclipse » jdt » org » eclipse » jdi » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » jdt » org.eclipse.jdi.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.jdi.internal.MirrorImpl
      org.eclipse.jdi.internal.ValueImpl
         org.eclipse.jdi.internal.ObjectReferenceImpl
            org.eclipse.jdi.internal.ThreadReferenceImpl

ThreadReferenceImpl
public class ThreadReferenceImpl extends ObjectReferenceImpl implements ThreadReference,org.eclipse.jdi.hcr.ThreadReference(Code)
This class implements the corresponding interfaces declared by the JDI specification. See the com.sun.jdi package for more information.


Field Summary
final public static  intJDWP_THREAD_STATUS_MONITOR
    
final public static  intJDWP_THREAD_STATUS_RUNNING
    
final public static  intJDWP_THREAD_STATUS_SLEEPING
    
final public static  intJDWP_THREAD_STATUS_WAIT
    
final public static  intJDWP_THREAD_STATUS_ZOMBIE
     ThreadStatus Constants.
final public static  intSUSPEND_STATUS_SUSPENDED
     SuspendStatus Constants.
final protected static  bytetag
     JDWP Tag.

Constructor Summary
public  ThreadReferenceImpl(VirtualMachineImpl vmImpl, JdwpThreadID threadID)
     Creates new ThreadReferenceImpl.

Method Summary
public  ObjectReferencecurrentContendedMonitor()
    
public  booleandoReturn(Value returnValue, boolean triggerFinallyAndSynchronized)
     Simulate the execution of a return instruction instead of executing the next bytecode in a method.
public  voidforceEarlyReturn(Value value)
    
public  StackFrameframe(int index)
    
public  intframeCount()
    
public  Listframes()
    
public  Listframes(int start, int length)
    
public static  voidgetConstantMaps()
     Retrieves constant mappings.
public  bytegetTag()
    
public  voidinterrupt()
    
public  booleanisAtBreakpoint()
    
public  booleanisSuspended()
    
public  Stringname()
    
public  ListownedMonitors()
     Returns a List containing an ObjectReference for each monitor owned by the thread.
public  ListownedMonitorsAndFrames()
    
public  voidpopFrames(StackFrame frameToPop)
    
public static  ThreadReferenceImplread(MirrorImpl target, DataInputStream in)
    
public  voidresetEventFlags()
     Reset flags that can be set when event occurs.
public  voidresume()
     Resumes this thread.
public  voidsetIsAtBreakpoint()
     Sets at breakpoint flag.
public  intstatus()
    
public  voidstop(ObjectReference throwable)
     Stops this thread with an asynchronous exception.
public  voidsuspend()
     Suspends this thread.
public  intsuspendCount()
     Returns the number of pending suspends for this thread.
public static  String[]suspendStatusStrings()
    
public  ThreadGroupReferencethreadGroup()
    
public static  MapthreadStatusMap()
    
public  StringtoString()
    

Field Detail
JDWP_THREAD_STATUS_MONITOR
final public static int JDWP_THREAD_STATUS_MONITOR(Code)



JDWP_THREAD_STATUS_RUNNING
final public static int JDWP_THREAD_STATUS_RUNNING(Code)



JDWP_THREAD_STATUS_SLEEPING
final public static int JDWP_THREAD_STATUS_SLEEPING(Code)



JDWP_THREAD_STATUS_WAIT
final public static int JDWP_THREAD_STATUS_WAIT(Code)



JDWP_THREAD_STATUS_ZOMBIE
final public static int JDWP_THREAD_STATUS_ZOMBIE(Code)
ThreadStatus Constants.



SUSPEND_STATUS_SUSPENDED
final public static int SUSPEND_STATUS_SUSPENDED(Code)
SuspendStatus Constants.



tag
final protected static byte tag(Code)
JDWP Tag.




Constructor Detail
ThreadReferenceImpl
public ThreadReferenceImpl(VirtualMachineImpl vmImpl, JdwpThreadID threadID)(Code)
Creates new ThreadReferenceImpl.




Method Detail
currentContendedMonitor
public ObjectReference currentContendedMonitor() throws IncompatibleThreadStateException(Code)



doReturn
public boolean doReturn(Value returnValue, boolean triggerFinallyAndSynchronized) throws org.eclipse.jdi.hcr.OperationRefusedException(Code)
Simulate the execution of a return instruction instead of executing the next bytecode in a method. Returns whether any finally or synchronized blocks are enclosing the current instruction.



forceEarlyReturn
public void forceEarlyReturn(Value value) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException(Code)

See Also:   com.sun.jdi.ThreadReference.forceEarlyReturn(com.sun.jdi.Value)
since:
   3.3



frame
public StackFrame frame(int index) throws IncompatibleThreadStateException(Code)



frameCount
public int frameCount() throws IncompatibleThreadStateException(Code)

See Also:   com.sun.jdi.ThreadReference.frameCount



frames
public List frames() throws IncompatibleThreadStateException(Code)



frames
public List frames(int start, int length) throws IndexOutOfBoundsException, IncompatibleThreadStateException(Code)



getConstantMaps
public static void getConstantMaps()(Code)
Retrieves constant mappings.



getTag
public byte getTag()(Code)



interrupt
public void interrupt()(Code)
Interrupts this thread
See Also:   com.sun.jdi.ThreadReference.interrupt



isAtBreakpoint
public boolean isAtBreakpoint()(Code)
Returns whether the thread is suspended at a breakpoint.



isSuspended
public boolean isSuspended()(Code)
Returns whether the thread has been suspended by the the debugger.



name
public String name()(Code)
Returns the name of this thread.



ownedMonitors
public List ownedMonitors() throws IncompatibleThreadStateException(Code)
Returns a List containing an ObjectReference for each monitor owned by the thread.



ownedMonitorsAndFrames
public List ownedMonitorsAndFrames() throws IncompatibleThreadStateException(Code)

See Also:   com.sun.jdi.ThreadReference.ownedMonitorsAndFrames
since:
   3.3



popFrames
public void popFrames(StackFrame frameToPop) throws IncompatibleThreadStateException(Code)

See Also:   ThreadReference.popFrames(StackFrame)



read
public static ThreadReferenceImpl read(MirrorImpl target, DataInputStream in) throws IOException(Code)
Reads JDWP representation and returns new instance.



resetEventFlags
public void resetEventFlags()(Code)
Reset flags that can be set when event occurs.



resume
public void resume()(Code)
Resumes this thread.
See Also:   com.sun.jdi.ThreadReference.resume
See Also:   



setIsAtBreakpoint
public void setIsAtBreakpoint()(Code)
Sets at breakpoint flag.



status
public int status()(Code)
Returns the thread's status.



stop
public void stop(ObjectReference throwable) throws InvalidTypeException(Code)
Stops this thread with an asynchronous exception.
See Also:   com.sun.jdi.ThreadReference.stop(com.sun.jdi.ObjectReference)
See Also:   



suspend
public void suspend()(Code)
Suspends this thread.
See Also:   com.sun.jdi.ThreadReference.suspend
See Also:   



suspendCount
public int suspendCount()(Code)
Returns the number of pending suspends for this thread.



suspendStatusStrings
public static String[] suspendStatusStrings()(Code)
Returns a map with string representations of tags.



threadGroup
public ThreadGroupReference threadGroup()(Code)
Returns this thread's thread group.



threadStatusMap
public static Map threadStatusMap()(Code)
Returns a map with string representations of tags.



toString
public String toString()(Code)
Returns description of Mirror object.



Fields inherited from org.eclipse.jdi.internal.ObjectReferenceImpl
final public static byte tag(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.ObjectReferenceImpl
public void disableCollection()(Code)(Java Doc)
public void enableCollection()(Code)(Java Doc)
public int entryCount() throws IncompatibleThreadStateException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
public JdwpObjectID getObjectID()(Code)(Java Doc)
public byte getTag()(Code)(Java Doc)
public Value getValue(Field field)(Code)(Java Doc)
public Map getValues(List allFields)(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public String idString()(Code)(Java Doc)
public Value invokeMethod(ThreadReference thread, Method method, List arguments, int options) throws InvalidTypeException, ClassNotLoadedException, IncompatibleThreadStateException, InvocationException(Code)(Java Doc)
public boolean isCollected()(Code)(Java Doc)
public ThreadReference owningThread() throws IncompatibleThreadStateException(Code)(Java Doc)
public static ObjectReferenceImpl readObjectRefWithTag(MirrorImpl target, DataInputStream in) throws IOException(Code)(Java Doc)
public static ObjectReferenceImpl readObjectRefWithoutTag(MirrorImpl target, DataInputStream in) throws IOException(Code)(Java Doc)
public ReferenceType referenceType()(Code)(Java Doc)
public List referringObjects(long maxReferrers) throws UnsupportedOperationException, IllegalArgumentException(Code)(Java Doc)
public void setValue(Field field, Value value) throws InvalidTypeException, ClassNotLoadedException(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public Type type()(Code)(Java Doc)
public long uniqueID()(Code)(Java Doc)
public List waitingThreads() throws IncompatibleThreadStateException(Code)(Java Doc)
public void write(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.ValueImpl
protected static ValueImpl checkPrimitiveValue(PrimitiveValueImpl value, PrimitiveTypeImpl valueType, PrimitiveTypeImpl type) throws InvalidTypeException(Code)(Java Doc)
public static ValueImpl checkValue(Value value, Type type, VirtualMachineImpl vm) throws InvalidTypeException(Code)(Java Doc)
protected static List checkValues(List values, List types, VirtualMachineImpl vm) throws InvalidTypeException(Code)(Java Doc)
abstract public byte getTag()(Code)(Java Doc)
public static ValueImpl readWithTag(MirrorImpl target, DataInputStream in) throws IOException(Code)(Java Doc)
public static ValueImpl readWithoutTag(MirrorImpl target, int type, DataInputStream in) throws IOException(Code)(Java Doc)
abstract public Type type()(Code)(Java Doc)
abstract public void write(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)
public static void writeNull(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)
public static void writeNullWithTag(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeWithTag(MirrorImpl target, DataOutputStream out) throws IOException(Code)(Java Doc)

Fields inherited from org.eclipse.jdi.internal.MirrorImpl
protected String fDescription(Code)(Java Doc)
protected VerboseWriter fVerboseWriter(Code)(Java Doc)

Methods inherited from org.eclipse.jdi.internal.MirrorImpl
public void checkVM(Mirror mirror) throws VMMismatchException(Code)(Java Doc)
public void defaultIOExceptionHandler(Exception e)(Code)(Java Doc)
public void defaultReplyErrorHandler(int error)(Code)(Java Doc)
public void disconnectVM()(Code)(Java Doc)
final public JdwpCommandPacket getCommandVM(int command, long timeout) throws InterruptedException(Code)(Java Doc)
public void handledJdwpEventSet()(Code)(Java Doc)
public void handledJdwpRequest()(Code)(Java Doc)
public void initJdwpEventSet(JdwpCommandPacket commandPacket)(Code)(Java Doc)
public void initJdwpRequest()(Code)(Java Doc)
public boolean readBoolean(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public byte readByte(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public byte[] readByteArray(int length, String description, DataInputStream in) throws IOException(Code)(Java Doc)
public char readChar(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public double readDouble(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public float readFloat(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public int readInt(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public long readLong(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, Map valueToString, DataInputStream in) throws IOException(Code)(Java Doc)
public short readShort(String description, String[] bitNames, DataInputStream in) throws IOException(Code)(Java Doc)
public String readString(String description, DataInputStream in) throws IOException(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, byte[] outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ByteArrayOutputStream outData)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ObjectReferenceImpl object)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command, ReferenceTypeImpl refType)(Code)(Java Doc)
public JdwpReplyPacket requestVM(int command)(Code)(Java Doc)
public String toString()(Code)(Java Doc)
public VerboseWriter verboseWriter()(Code)(Java Doc)
public VirtualMachine virtualMachine()(Code)(Java Doc)
public VirtualMachineImpl virtualMachineImpl()(Code)(Java Doc)
public void writeBoolean(boolean value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeByte(byte value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeChar(char value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeDouble(double value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeFloat(float value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeInt(int value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeLong(long value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, Map valueToString, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeShort(short value, String description, String[] bitNames, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeString(String value, String description, DataOutputStream out) throws IOException(Code)(Java Doc)
public void writeVerboseCommandPacketHeader(JdwpCommandPacket commandPacket)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.