Class SinkPhase<I,P>
java.lang.Object
tech.illuin.pipeline.execution.phase.impl.SinkPhase<I,P>
- All Implemented Interfaces:
AutoCloseable
,PipelinePhase<I,
P>
- Author:
- Pierre Lecerf ([email protected])
-
Constructor Summary
ConstructorsConstructorDescriptionSinkPhase
(Pipeline<I, P> pipeline, List<SinkDescriptor<P>> sinks, Supplier<ExecutorService> sinkExecutorProvider, int closeTimeout, UIDGenerator uidGenerator, io.micrometer.core.instrument.MeterRegistry meterRegistry) -
Method Summary
-
Constructor Details
-
SinkPhase
public SinkPhase(Pipeline<I, P> pipeline, List<SinkDescriptor<P>> sinks, Supplier<ExecutorService> sinkExecutorProvider, int closeTimeout, UIDGenerator uidGenerator, io.micrometer.core.instrument.MeterRegistry meterRegistry)
-
-
Method Details
-
run
public PipelineStrategy run(I input, Output<P> output, Context<P> context, MetricTags metricTags) throws Exception - Specified by:
run
in interfacePipelinePhase<I,
P> - Throws:
Exception
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfacePipelinePhase<I,
P> - Throws:
Exception
-