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:
runin interfacePipelinePhase<I>- Throws:
Exception
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfacePipelinePhase<I>- Throws:
Exception
-