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