V - The value being returned.E - The user exception type being thrown.public interface CheckedSuspendableCallable<V,E extends java.lang.Exception>
extends java.io.Serializable
Strand (i.e. thread or fiber).
Unlike SuspendableRunnable, the operation represented by this interface returns a result.
This is just like a Callable, only suspendable.| Modifier and Type | Method and Description |
|---|---|
V |
call() |
V call() throws SuspendExecution, java.lang.InterruptedException, E extends java.lang.Exception
SuspendExecutionjava.lang.InterruptedExceptionE extends java.lang.Exception