- java.lang.Object
-
- com.alibaba.wisp.engine.WispTask
-
- All Implemented Interfaces:
Comparable<WispTask>
public class WispTask extends Object implements Comparable<WispTask>
WispTask
provides high-level semantics of {link @Coroutine}Create
WispTask
viaWispEngine.dispatch(Runnable)
(Callable, String)} to make blocking IO operation inWispTask
s to become concurrent.The creator and a newly created
WispTask
will automatically have parent-children relationship. When the child gets blocked on something, theWispCarrier
will try to execute parent first.A
WispTask
's exit will wake up the waiting parent.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
Thread
getThreadWrapper()
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface java.lang.Comparable
compareTo
-
-