All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
CompletionId |
acceptEither(FlowId flowId,
CompletionId completionId,
CompletionId alternate,
Serializable fn,
CodeLocation codeLocation) |
void |
addTerminationHook(FlowId flowId,
Serializable code,
CodeLocation codeLocation) |
CompletionId |
allOf(FlowId flowId,
List<CompletionId> cids,
CodeLocation codeLocation) |
CompletionId |
anyOf(FlowId flowId,
List<CompletionId> cids,
CodeLocation codeLocation) |
CompletionId |
applyToEither(FlowId flowId,
CompletionId completionId,
CompletionId alternate,
Serializable fn,
CodeLocation codeLocation) |
void |
commit(FlowId flowId) |
boolean |
complete(FlowId flowId,
CompletionId completionId,
Object value,
CodeLocation codeLocation) |
CompletionId |
completedValue(FlowId flowId,
boolean success,
Object value,
CodeLocation codeLocation) |
boolean |
completeExceptionally(FlowId flowId,
CompletionId completionId,
Throwable value,
CodeLocation codeLocation) |
CompletionId |
createCompletion(FlowId flowId,
CodeLocation codeLocation) |
FlowId |
createFlow(String functionId)
create a new flow against the flow service
|
CompletionId |
delay(FlowId flowId,
long l,
CodeLocation codeLocation) |
CompletionId |
exceptionally(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
exceptionallyCompose(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
handle(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
invokeFunction(FlowId flowId,
String functionId,
byte[] data,
HttpMethod method,
Headers headers,
CodeLocation codeLocation) |
CompletionId |
supply(FlowId flowId,
Serializable supplier,
CodeLocation codeLocation) |
CompletionId |
thenAccept(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
thenAcceptBoth(FlowId flowId,
CompletionId completionId,
CompletionId alternate,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
thenApply(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
CompletionId |
thenCombine(FlowId flowId,
CompletionId completionId,
Serializable fn,
CompletionId alternate,
CodeLocation codeLocation) |
CompletionId |
thenCompose(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation)
Compose a function into the tree
The transmitted function is wrapped to convert th ElvisFuture into it's completion iD
|
CompletionId |
thenRun(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |
Object |
waitForCompletion(FlowId flowId,
CompletionId id,
ClassLoader ignored) |
Object |
waitForCompletion(FlowId flowId,
CompletionId id,
ClassLoader ignored,
long timeout,
TimeUnit unit) |
CompletionId |
whenComplete(FlowId flowId,
CompletionId completionId,
Serializable fn,
CodeLocation codeLocation) |