| com.rimfaxe.thread.MutableRunnable
All known Subclasses: com.rimfaxe.thread.MutableThread,
MutableRunnable | public interface MutableRunnable extends Runnable(Code) | | The MutableRunnable Interface describes an interface which creates an
owned thread by an object. It also provides access to that thread. The
MutableRunnable object retains it's own priority and name such that when the
crateThread method is invoked, the priority and name of the new thread
is the same as the old thread.
author: Pueschel |
Method Summary | |
public void | createThread() The create method creates a new thread which is owned by the
MutableRunnable object. | public String | getName() | public boolean | isAlive() | public void | setName(java.lang.String aName) setName(String) sets the thread name to the passed parameter string value. | public void | setPriority(int aPriority) The setPriority(int) method is a method to set the thread priority. | public void | start() The start method is the standard Thread start method which will result
in starting the thread at the currently set priority. |
createThread | public void createThread()(Code) | | The create method creates a new thread which is owned by the
MutableRunnable object.
|
getName | public String getName()(Code) | | getName() returns the thread name string
|
isAlive | public boolean isAlive()(Code) | | The isAlive method provides the test for isAlive required for monitoring thread status
|
setName | public void setName(java.lang.String aName)(Code) | | setName(String) sets the thread name to the passed parameter string value.
|
setPriority | public void setPriority(int aPriority)(Code) | | The setPriority(int) method is a method to set the thread priority. The
passed parameter is an integer describing the thread priority.
|
start | public void start()(Code) | | The start method is the standard Thread start method which will result
in starting the thread at the currently set priority.
|
|
|