public class IndexPipeline extends Pipeline<PipelineDocument>
Modifier and Type | Class and Description |
---|---|
static class |
IndexPipeline.PipelineDocumentIterator
Iterator that will read from a queue until it reaches a poison pill object, or a given Future has an error,
or reading from the queue times out
|
Pipeline.State
Constructor and Description |
---|
IndexPipeline(java.lang.String instanceId,
java.lang.String pipelineId,
java.util.List<StageConfig> stageConfigs,
StageFactory<PipelineDocument> stageFactory,
MetricRegistry metricRegistry,
java.util.Map<java.lang.String,java.lang.String> initialProperties) |
addStateListener, getErrors, getInstanceId, getMetrics, getPipelineId, getProperties, getRunningTimeMs, getStages, getStartTime, getState, isInState, isTerminalState, maybeStop, send, send, send, send, sendEndOfBatch, start, stop
public IndexPipeline(java.lang.String instanceId, java.lang.String pipelineId, java.util.List<StageConfig> stageConfigs, StageFactory<PipelineDocument> stageFactory, MetricRegistry metricRegistry, java.util.Map<java.lang.String,java.lang.String> initialProperties)