|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--com.msi.threadpuddle.Piddle
Piddle contains a thread and 'run' state for the thread
supporting allocation of threads to jobs.
| Field Summary | |
private boolean |
idle
|
private java.lang.Thread |
thread
|
| Constructor Summary | |
Piddle(java.lang.Thread thread)
Creates a new Piddle instance. |
|
| Method Summary | |
java.lang.Thread |
getThread()
Get the value of thread. |
boolean |
isIdle()
Get the value of idle. |
void |
setIdle(boolean v)
Set the value of idle. |
void |
setThread(java.lang.Thread v)
Set the value of thread. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private boolean idle
private java.lang.Thread thread
| Constructor Detail |
public Piddle(java.lang.Thread thread)
Piddle instance.
thread - a Thread value| Method Detail |
public java.lang.Thread getThread()
public void setThread(java.lang.Thread v)
v - Value to assign to thread.public boolean isIdle()
public void setIdle(boolean v)
v - Value to assign to idle.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||