Package co.paralleluniverse.strands
Interface SuspendableRunnable
-
- All Superinterfaces:
java.io.Serializable
public interface SuspendableRunnable extends java.io.SerializableThis 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 voidrun()
-
-
-
Method Detail
-
run
void run() throws SuspendExecution, java.lang.InterruptedException
- Throws:
SuspendExecutionjava.lang.InterruptedException
-
-