Package co.paralleluniverse.strands
Class SuspendableUtils.VoidSuspendableCallable
- java.lang.Object
-
- co.paralleluniverse.strands.SuspendableUtils.VoidSuspendableCallable
-
- All Implemented Interfaces:
SuspendableCallable<java.lang.Void>
,java.io.Serializable
- Enclosing class:
- SuspendableUtils
public static class SuspendableUtils.VoidSuspendableCallable extends java.lang.Object implements SuspendableCallable<java.lang.Void>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description VoidSuspendableCallable(SuspendableRunnable runnable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SuspendableRunnable
getRunnable()
java.lang.Void
run()
-
-
-
Constructor Detail
-
VoidSuspendableCallable
public VoidSuspendableCallable(SuspendableRunnable runnable)
-
-
Method Detail
-
run
@DontInstrument public java.lang.Void run() throws SuspendExecution, java.lang.InterruptedException
- Specified by:
run
in interfaceSuspendableCallable<java.lang.Void>
- Throws:
SuspendExecution
java.lang.InterruptedException
-
getRunnable
public SuspendableRunnable getRunnable()
-
-