Package tech.illuin.pipeline.builder
Class PayloadPipelineBuilder<I>
java.lang.Object
tech.illuin.pipeline.builder.PayloadPipelineBuilder<I>
- Author:
- Pierre Lecerf ([email protected])
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()intid()indexers()io.micrometer.core.instrument.MeterRegistryregisterIndexer(MultiIndexer<?> indexer) registerIndexer(SingleIndexer<?> indexer) registerObserver(Observer supplier) registerOnCloseHandler(OnCloseHandler handler) registerSink(Object target) registerSink(SinkAssembler assembler) registerSink(Sink sink) registerSink(Sink sink, boolean async) registerSinkAssemblers(List<? extends SinkAssembler> assemblers) registerSinks(List<? extends Sink> sinks) registerSinks(List<? extends Sink> sinks, boolean async) registerStep(Object target) registerStep(StepAssembler<? extends Indexable, I> assembler) registerStep(Step<? extends Indexable, I> step) registerStep(IndexableStep<? extends Indexable> step) registerStep(InputStep<I> step) registerStep(PayloadStep step) registerStepAssemblers(List<? extends StepAssembler<? extends Indexable, I>> assemblers) registerSteps(List<? extends Step<? extends Indexable, I>> steps) setAuthorResolver(AuthorResolver<I> authorResolver) setCloseTimeout(int closeTimeout) setDefaultEvaluator(ResultEvaluator defaultEvaluator) setDefaultSinkErrorHandler(SinkErrorHandler defaultSinkErrorHandler) setDefaultStepErrorHandler(StepErrorHandler defaultStepErrorHandler) setErrorHandler(PipelineErrorHandler errorHandler) setInitializer(Object target) setInitializer(InitializerAssembler<I> assembler) setInitializer(Initializer<I> initializer) setMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) setOutputFactory(OutputFactory<I> outputFactory) setSinkExecutor(ExecutorService sinkExecutor) setSinkExecutorProvider(Supplier<ExecutorService> sinkExecutorProvider) setTagResolver(TagResolver<I> tagResolver) setUidGenerator(UIDGenerator uidGenerator)
-
Constructor Details
-
PayloadPipelineBuilder
public PayloadPipelineBuilder()
-
-
Method Details
-
build
-
id
-
setId
-
authorResolver
-
setAuthorResolver
-
registerSteps
-
registerStep
-
registerStep
-
registerStep
-
registerStep
-
registerStep
-
registerStep
-
registerStepAssemblers
public PayloadPipelineBuilder<I> registerStepAssemblers(List<? extends StepAssembler<? extends Indexable, I>> assemblers) -
registerSink
-
registerSink
-
registerSink
-
registerSink
-
registerSinks
-
registerSinks
-
registerSinkAssemblers
-
sinkExecutorProvider
-
setSinkExecutorProvider
public PayloadPipelineBuilder<I> setSinkExecutorProvider(Supplier<ExecutorService> sinkExecutorProvider) -
setSinkExecutor
-
onCloseHandlers
-
registerOnCloseHandler
-
closeTimeout
public int closeTimeout() -
setCloseTimeout
-
defaultEvaluator
-
setDefaultEvaluator
-
errorHandler
-
setErrorHandler
-
defaultStepErrorHandler
-
defaultSinkErrorHandler
-
setDefaultStepErrorHandler
public PayloadPipelineBuilder<I> setDefaultStepErrorHandler(StepErrorHandler defaultStepErrorHandler) -
setDefaultSinkErrorHandler
public PayloadPipelineBuilder<I> setDefaultSinkErrorHandler(SinkErrorHandler defaultSinkErrorHandler) -
meterRegistry
public io.micrometer.core.instrument.MeterRegistry meterRegistry() -
setMeterRegistry
public PayloadPipelineBuilder<I> setMeterRegistry(io.micrometer.core.instrument.MeterRegistry meterRegistry) -
tagResolver
-
setTagResolver
-
setInitializer
-
setInitializer
-
setInitializer
-
indexers
-
registerIndexer
-
registerIndexer
-
outputFactory
-
setOutputFactory
-
uidGenerator
-
setUidGenerator
-
observers
-
registerObserver
-