|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Callable
Interface for runnable actions that bear results and/or throw Exceptions. This interface is designed to provide a common protocol for result-bearing actions that can be run independently in threads, in which case they are ordinarily used as the bases of Runnables that set FutureResults
[ Introduction to this package. ]
FutureResult
Method Summary | |
---|---|
java.lang.Object |
call()
Performs some action that returns a result or throws an exception |
void |
stop()
Stops the running call |
Method Detail |
---|
java.lang.Object call() throws XException
XException
void stop() throws XException
XException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |