| java.lang.Object com.rift.coad.lib.thread.ThreadInfo
ThreadInfo | public class ThreadInfo (Code) | | The information about a single thread running in coadunation.
author: Brett Chaldecott |
Method Summary | |
public String | getInfo() The information about this thread as provided by the thread. | public Thread.State | getState() This method returns the state of the thread that this object contains
information for. | public Class | getThreadClass() The getter method for the thread class object. | public long | getThreadId() The getter method for the thread id. | public UserSession | getUser() This method returns the user object reference for this thread. |
ThreadInfo | public ThreadInfo(long threadId, Class threadClass, UserSession user, Thread.State state, String info)(Code) | | Creates a new instance of ThreadInfo
Parameters: threadId - The id of the thread this object represents. Parameters: threadClass - The reference to the thread class. Parameters: user - The user object. Parameters: state - The state of this thread. |
getInfo | public String getInfo()(Code) | | The information about this thread as provided by the thread.
A string containing the information about this thread. |
getState | public Thread.State getState()(Code) | | This method returns the state of the thread that this object contains
information for.
The reference to the current state. |
getThreadClass | public Class getThreadClass()(Code) | | The getter method for the thread class object.
The reference to the thread class. |
getThreadId | public long getThreadId()(Code) | | The getter method for the thread id.
The id of the thread contained in a long value. |
getUser | public UserSession getUser()(Code) | | This method returns the user object reference for this thread.
The reference to the user object. |
|
|