|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface RunnableQueue.Job
A Runnable that can be enqueued to a RunnableQueue.
| Method Summary | |
|---|---|
int |
getExitStatus()
Returns the exit status of this job. |
boolean |
hasInput()
Returns whether this job currently has a non-null input. |
void |
readInputFrom(InputStream stream)
Requests that this job reads any input it needs from the specified stream. |
void |
registerExceptionHandler(ExceptionHandler eh)
Registers an exception handler to deal with exceptions thrown within the run() method. |
void |
stop()
Requests that this job stops executing if it is currently running. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Method Detail |
|---|
int getExitStatus()
void stop()
run(). Implementations may choose to ignore this.
boolean hasInput()
true.
readInputFrom(InputStream)void readInputFrom(InputStream stream)
stream - the stream to read input fromvoid registerExceptionHandler(ExceptionHandler eh)
run() method. By default any exceptions
thrown within run should be re-thrown as RuntimeExceptions.
eh - an exception handler
|
Mp3dings 20100427 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||