|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object felix.society.Worker
public abstract class Worker
A worker is a Runnable object generated by Task/TaskList/TaskWorker.
Constructor Summary | |
---|---|
Worker()
Constructor -- the ID is assigned here. |
Method Summary | |
---|---|
java.lang.Exception |
getException()
If there are exceptions collected while running this Worker, return it. |
abstract void |
run()
Run!!!! |
void |
submitException(java.lang.Exception _e)
Collect exceptions while running (we cannot throw exceptions in run()) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Worker()
Method Detail |
---|
public java.lang.Exception getException()
public void submitException(java.lang.Exception _e)
_e
- public abstract void run()
run
in interface java.lang.Runnable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |