|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a Java thread
JavaRuntime.getThreads()
Field Summary | |
---|---|
static int |
STATE_ALIVE
|
static int |
STATE_BLOCKED_ON_MONITOR_ENTER
|
static int |
STATE_IN_NATIVE
|
static int |
STATE_IN_OBJECT_WAIT
|
static int |
STATE_INTERRUPTED
|
static int |
STATE_PARKED
|
static int |
STATE_RUNNABLE
|
static int |
STATE_SLEEPING
|
static int |
STATE_SUSPENDED
|
static int |
STATE_TERMINATED
|
static int |
STATE_VENDOR_1
|
static int |
STATE_VENDOR_2
|
static int |
STATE_VENDOR_3
|
static int |
STATE_WAITING
|
static int |
STATE_WAITING_INDEFINITELY
|
static int |
STATE_WAITING_WITH_TIMEOUT
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
ImageThread |
getImageThread()
|
ImagePointer |
getJNIEnv()
|
java.lang.String |
getName()
Return the name of the thread. |
JavaObject |
getObject()
Fetch the java.lang.Thread associated with this thread. |
int |
getPriority()
|
java.util.Iterator |
getStackFrames()
|
java.util.Iterator |
getStackSections()
|
int |
getState()
|
int |
hashCode()
|
Field Detail |
public static final int STATE_ALIVE
public static final int STATE_TERMINATED
public static final int STATE_RUNNABLE
public static final int STATE_WAITING_INDEFINITELY
public static final int STATE_WAITING_WITH_TIMEOUT
public static final int STATE_SLEEPING
public static final int STATE_WAITING
public static final int STATE_IN_OBJECT_WAIT
public static final int STATE_PARKED
public static final int STATE_BLOCKED_ON_MONITOR_ENTER
public static final int STATE_SUSPENDED
public static final int STATE_INTERRUPTED
public static final int STATE_IN_NATIVE
public static final int STATE_VENDOR_1
public static final int STATE_VENDOR_2
public static final int STATE_VENDOR_3
Method Detail |
public ImagePointer getJNIEnv() throws CorruptDataException
CorruptDataException
public int getPriority() throws CorruptDataException
CorruptDataException
Thread.getPriority()
public JavaObject getObject() throws CorruptDataException
CorruptDataException
JavaObject
,
Thread
public int getState() throws CorruptDataException
CorruptDataException
public ImageThread getImageThread() throws CorruptDataException
CorruptDataException
ImageThread
public java.util.Iterator getStackSections()
Some Runtime implementations may also use parts of the ImageThread's stack for ManagesStackFrames
ImageSection
,
ImageThread.getStackSections()
,
CorruptData
public java.util.Iterator getStackFrames()
JavaStackFrame
,
CorruptData
public java.lang.String getName() throws CorruptDataException
CorruptDataException
public boolean equals(java.lang.Object obj)
obj
-
public int hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |