public interface CompletableComponentExecutor<M extends org.mule.runtime.api.meta.model.ComponentModel>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CompletableComponentExecutor.ExecutorCallback
Callback to notify the operation's result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ExecutionContext<M> executionContext,
CompletableComponentExecutor.ExecutorCallback callback)
Executes the operation using the given
executionContext. |
void execute(ExecutionContext<M> executionContext, CompletableComponentExecutor.ExecutorCallback callback)
executionContext.
The outcome will be informed by calling the appropriate method in the callback.
Although this pattern is optimized for non blocking execution, notice that using this interface doesn't guarantee
that non blocking execution will take place. The callback can always be completed synchronously.executionContext - a ExecutionContext with information about the executioncallback - the CompletableComponentExecutor.ExecutorCallback to notify the operation's resultCopyright © 2020 MuleSoft, Inc.. All rights reserved.