- java.lang.Object
-
- com.ibm.dtfj.java.javacore.JCJavaThread
-
- All Implemented Interfaces:
JavaThread
public class JCJavaThread extends Object implements JavaThread
-
-
Field Summary
-
Fields declared in interface com.ibm.dtfj.java.JavaThread
STATE_ALIVE, STATE_BLOCKED_ON_MONITOR_ENTER, STATE_IN_NATIVE, STATE_IN_OBJECT_WAIT, STATE_INTERRUPTED, STATE_PARKED, STATE_RUNNABLE, STATE_SLEEPING, STATE_SUSPENDED, STATE_TERMINATED, STATE_VENDOR_1, STATE_VENDOR_2, STATE_VENDOR_3, STATE_WAITING, STATE_WAITING_INDEFINITELY, STATE_WAITING_WITH_TIMEOUT
-
-
Constructor Summary
Constructors Constructor Description JCJavaThread(JCJavaRuntime runtime, ImagePointer threadID)
JCJavaThread(JCJavaRuntime runtime, ImagePointer threadID, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addStackFrame(JavaStackFrame javaStackFrame)
ImagePointer
getThreadID()
Not in DTFJ.JCImageThread
internalGetImageThread()
NON-DTFJ.void
setBlockingObject(JavaObject blockingObject)
NOT in DTFJvoid
setImageThread(JCImageThread imageThread)
NON-DTFJImagePointer
setJNIEnv(ImagePointer env)
Not in DTFJ.void
setName(String name)
NON-DTFJvoid
setObject(JavaObject threadObject)
NOT in DTFJvoid
setPriority(int priority)
NON-DTFJvoid
setState(String state)
NON-DTFJ-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.dtfj.java.JavaThread
equals, getBlockingObject, getImageThread, getJNIEnv, getName, getObject, getPriority, getStackFrames, getStackSections, getState, hashCode
-
-
-
-
Constructor Detail
-
JCJavaThread
public JCJavaThread(JCJavaRuntime runtime, ImagePointer threadID) throws JCInvalidArgumentsException
- Throws:
JCInvalidArgumentsException
-
JCJavaThread
public JCJavaThread(JCJavaRuntime runtime, ImagePointer threadID, String name) throws JCInvalidArgumentsException
- Throws:
JCInvalidArgumentsException
-
-
Method Detail
-
addStackFrame
public void addStackFrame(JavaStackFrame javaStackFrame)
-
setImageThread
public void setImageThread(JCImageThread imageThread)
NON-DTFJ- Parameters:
imageThread
-
-
internalGetImageThread
public JCImageThread internalGetImageThread()
NON-DTFJ. For internal building purposes. Do not call as part of DTFJ.- Returns:
- image thread or null if non found.
-
setName
public void setName(String name)
NON-DTFJ- Parameters:
name
-
-
setPriority
public void setPriority(int priority)
NON-DTFJ- Parameters:
priority
-
-
setState
public void setState(String state)
NON-DTFJ- Parameters:
state
-
-
getThreadID
public ImagePointer getThreadID()
Not in DTFJ. Used only for building purposes.
-
setJNIEnv
public ImagePointer setJNIEnv(ImagePointer env)
Not in DTFJ. Used only for building purposes.
-
setObject
public void setObject(JavaObject threadObject)
NOT in DTFJ- Parameters:
threadObject
-
-
setBlockingObject
public void setBlockingObject(JavaObject blockingObject)
NOT in DTFJ- Parameters:
blockingObject
-
-
-