org.mortbay.util
public abstract class LifeCycleThread extends Object implements LifeCycle, Runnable
Version: $Revision: 1.9 $
Method Summary | |
---|---|
boolean | error(Error e) Handle error from loop. |
boolean | exception(Exception e) Handle exception from loop. |
Thread | getThread() |
boolean | isDaemon() |
boolean | isStarted() |
abstract void | loop() |
void | run() |
void | setDaemon(boolean d) |
void | start() |
void | stop() |
Parameters: e The exception
Returns: True of the loop should continue;
Parameters: e The exception
Returns: True of the loop should continue;
Throws: InterruptedException InterruptedIOException