Package co.paralleluniverse.strands
Interface CheckedSuspendableCallable<V,E extends java.lang.Exception>
-
- Type Parameters:
V- The value being returned.E- The user exception type being thrown.
- All Superinterfaces:
java.io.Serializable
public interface CheckedSuspendableCallable<V,E extends java.lang.Exception> extends java.io.SerializableThis interface can represent any operation that may suspend the currently executingStrand(i.e. thread or fiber). UnlikeSuspendableRunnable, the operation represented by this interface returns a result. This is just like aCallable, only suspendable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Vcall()
-
-
-
Method Detail
-
call
V call() throws SuspendExecution, java.lang.InterruptedException, E extends java.lang.Exception
- Throws:
SuspendExecutionjava.lang.InterruptedExceptionE extends java.lang.Exception
-
-