public abstract class AbstractPipelineProcess<K,V> extends Object implements PipelineProcess<K,V>
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
pipeline()
Return the assigned
Pipeline |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcommandpublic String name()
PipelineProcessCommand.The name was used when then Command
was added to the Pipeline. This name can also be used to access the registered
Command from the Pipeline.name 在接口中 PipelineProcess<K,V>public Executor executor()
PipelineProcessExecutor which is used to execute an arbitrary task.executor 在接口中 PipelineProcess<K,V>public Pipeline pipeline()
PipelineProcessPipelinepipeline 在接口中 PipelineProcess<K,V>public PipelineProcess<K,V> fireEvent(Context<K,V> context, CompletableFuture<?> future)
fireEvent 在接口中 PipelineProcess<K,V>public PipelineProcess fireExceptionCaught(Context<K,V> context, CompletableFuture<?> future, Throwable cause)
PipelineProcessCommand 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.
fireExceptionCaught 在接口中 PipelineProcess<K,V>Copyright © 2021. All rights reserved.