public interface Continuation
Modifier and Type | Method and Description |
---|---|
Object |
callIdentifier()
Returns the call identifier, an object that uniquely identifies the computation
(an execution run) represented by this continuation.
|
void |
resume(CallEventHandler handler,
SchedulingContext schedulingContext)
Resumes the continuation with the given event handler
handler in the scheduling
context schedulingContext . |
Object callIdentifier()
null
identifier of this computationvoid resume(CallEventHandler handler, SchedulingContext schedulingContext)
handler
in the scheduling
context schedulingContext
.handler
- the call event handler, must not be null
schedulingContext
- the scheduling context, must not be null
NullPointerException
- if handler
or schedulingContext
is null
InvalidContinuationException
- when the continuation is invalidCopyright © 2016. All rights reserved.