| 程序包 | 说明 |
|---|---|
| cn.sliew.milky.common.chain |
| 限定符和类型 | 类和说明 |
|---|---|
class |
LogCommand |
| 限定符和类型 | 方法和说明 |
|---|---|
<T extends Command<K,V>> |
Pipeline.get(Class<T> commandType)
Returns the
Command of the specified type in this pipeline. |
| 限定符和类型 | 方法和说明 |
|---|---|
Command<K,V> |
PipelineProcess.command()
The
Command that is bound this PipelineProcess. |
Command |
DefaultPipeline.first() |
Command<K,V> |
Pipeline.first()
Returns the first
Command in this pipeline. |
Command |
DefaultPipeline.get(Class commandType) |
Command |
DefaultPipeline.get(String name) |
Command<K,V> |
Pipeline.get(String name)
Returns the
Command with the specified name in this pipeline. |
Command<?,?> |
PipelineException.getFailedCommand() |
Command |
DefaultPipeline.last() |
Command<K,V> |
Pipeline.last()
Returns the last
Command in this pipeline. |
Command |
DefaultPipeline.remove(Class commandType) |
Command<K,V> |
Pipeline.remove(Class commandType)
Removes the
Command of the specified type from this pipeline. |
Command |
DefaultPipeline.remove(String name) |
Command<K,V> |
Pipeline.remove(String name)
Removes the
Command with the specified name from this pipeline. |
Command |
DefaultPipeline.removeFirst() |
Command<K,V> |
Pipeline.removeFirst()
Removes the first
Command in this pipeline. |
Command |
DefaultPipeline.removeLast() |
Command<K,V> |
Pipeline.removeLast()
Removes the last
Command in this pipeline. |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,Command<K,V>> |
DefaultPipeline.toMap() |
Map<String,Command<K,V>> |
Pipeline.toMap()
Converts this pipeline into an ordered
Map whose keys are
command names and whose values are commands. |
| 限定符和类型 | 方法和说明 |
|---|---|
Pipeline |
DefaultPipeline.addAfter(String baseName,
String name,
Command command) |
Pipeline<K,V> |
Pipeline.addAfter(String baseName,
String name,
Command<K,V> command)
Inserts a
Command after an existing command of this pipeline. |
Pipeline |
DefaultPipeline.addBefore(String baseName,
String name,
Command command) |
Pipeline<K,V> |
Pipeline.addBefore(String baseName,
String name,
Command<K,V> command)
Inserts a
Command before an existing command of this pipeline. |
Pipeline |
DefaultPipeline.addFirst(String name,
Command command) |
Pipeline<K,V> |
Pipeline.addFirst(String name,
Command<K,V> command)
Inserts a
PipelineProcess at the first position of this pipeline. |
Pipeline |
DefaultPipeline.addLast(String name,
Command command) |
Pipeline<K,V> |
Pipeline.addLast(String name,
Command<K,V> command)
Appends a
PipelineProcess at the last position of this pipeline. |
PipelineProcess |
DefaultPipeline.context(Command command) |
PipelineProcess<K,V> |
Pipeline.context(Command<K,V> command)
Returns the context object of the specified
Command in this pipeline. |
Pipeline |
DefaultPipeline.remove(Command command) |
Pipeline<K,V> |
Pipeline.remove(Command<K,V> command)
Removes the specified
Command from this pipeline. |
| 限定符和类型 | 方法和说明 |
|---|---|
PipelineProcess<K,V> |
Pipeline.context(Class<? extends Command> commandType)
Returns the context object of the
Command of the
specified type in this pipeline. |
| 构造器和说明 |
|---|
PipelineException(String message,
Throwable cause,
Context<K,V> context,
Command<K,V> failedCommand)
|
Copyright © 2021. All rights reserved.