Package org.logicalcobwebs.concurrent
Interface Callable
-
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- See Also:
FutureResult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
call()
Perform some action that returns a result or throws an exception
-