public interface AsyncRunnable
extends java.lang.Runnable
Modifier and Type | Method and Description |
---|---|
int |
getID()
Retrieve a unique worker ID.
|
boolean |
isFinished()
Determine if this runnable has already run its course.
|
boolean |
isRunning()
Determine if we're running or not.
|
boolean |
stop()
Stop the given runnable.
|
int getID()
boolean stop() throws java.lang.InterruptedException
This may not occur right away.
java.lang.InterruptedException
boolean isRunning()
boolean isFinished()