public interface PipelineProcess<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
Command<K,V> |
command()
The
Command that is bound this PipelineProcess. |
Executor |
executor()
Returns the
Executor which is used to execute an arbitrary task. |
PipelineProcess<K,V> |
fireEvent(Context<K,V> context,
CompletableFuture<?> future) |
PipelineProcess |
fireExceptionCaught(Context<K,V> context,
CompletableFuture<?> future,
Throwable cause)
|
String |
name()
|
Pipeline<K,V> |
pipeline()
Return the assigned
Pipeline |
String name()
Command<K,V> command()
Command that is bound this PipelineProcess.PipelineProcess<K,V> fireEvent(Context<K,V> context, CompletableFuture<?> future)
PipelineProcess fireExceptionCaught(Context<K,V> context, CompletableFuture<?> future, Throwable cause)
Command received an Throwable in one of its operations.
This will result in having the
Command.exceptionCaught(AbstractPipelineProcess, Context, java.util.concurrent.CompletableFuture, Throwable)
method called of the next Command contained in the Pipeline.
Copyright © 2021. All rights reserved.