Package co.paralleluniverse.strands
Interface SuspendableRunnable
-
- All Superinterfaces:
java.io.Serializable
public interface SuspendableRunnable extends java.io.Serializable
This interface can represent any operation that may suspend the currently executingStrand
(i.e. thread or fiber). This is just like aRunnable
, only suspendable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run()
-
-
-
Method Detail
-
run
void run() throws SuspendExecution, java.lang.InterruptedException
- Throws:
SuspendExecution
java.lang.InterruptedException
-
-