|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WorkerThread
Interface for worker threads.
AbstractWorkerThread
Method Summary | |
---|---|
void |
doTerminate()
Does stop current work and trigger thread termination |
boolean |
hasTerminated()
Getter for the terminated flag |
boolean |
isLogging()
Getter for the logging flag |
boolean |
isWorking()
Getter for the working flag |
void |
setLogging(boolean doLog)
Setter for the logging flag |
void |
startWork()
Does start working if thread is not in working state |
void |
stopWork()
Does stop working if thread is in working state |
Method Detail |
---|
boolean isWorking()
void setLogging(boolean doLog)
doLog
- flag if logging should be doneboolean isLogging()
boolean hasTerminated()
void doTerminate()
void startWork()
void stopWork()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |