List of usage examples for org.apache.commons.javaflow Continuation getContext
public static Object getContext()
From source file:com.topekalabs.bigmachine.lib.testutils.SimpleContinuationRunnable.java
@Override public void run() { MutableInt val = (MutableInt) Continuation.getContext(); val.setValue(FIRST_VALUE); count = SECOND_VALUE;/*from w w w .j ava 2 s . c o m*/ Continuation.suspend(); val = (MutableInt) Continuation.getContext(); val.setValue(count); }