|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaThread
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 |
---|
static final int STATE_ALIVE
static final int STATE_TERMINATED
static final int STATE_RUNNABLE
static final int STATE_WAITING_INDEFINITELY
static final int STATE_WAITING_WITH_TIMEOUT
static final int STATE_SLEEPING
static final int STATE_WAITING
static final int STATE_IN_OBJECT_WAIT
static final int STATE_PARKED
static final int STATE_BLOCKED_ON_MONITOR_ENTER
static final int STATE_SUSPENDED
static final int STATE_INTERRUPTED
static final int STATE_IN_NATIVE
static final int STATE_VENDOR_1
static final int STATE_VENDOR_2
static final int STATE_VENDOR_3
Method Detail |
---|
ImagePointer getJNIEnv() throws CorruptDataException
CorruptDataException
int getPriority() throws CorruptDataException
CorruptDataException
Thread.getPriority()
JavaObject getObject() throws CorruptDataException
CorruptDataException
JavaObject
,
Thread
int getState() throws CorruptDataException
CorruptDataException
ImageThread getImageThread() throws CorruptDataException
CorruptDataException
ImageThread
java.util.Iterator getStackSections()
Some Runtime implementations may also use parts of the ImageThread's stack for ManagesStackFrames
ImageSection
,
ImageThread.getStackSections()
,
CorruptData
java.util.Iterator getStackFrames()
JavaStackFrame
,
CorruptData
java.lang.String getName() throws CorruptDataException
CorruptDataException
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |