Interface MeasuredProducerWorker<OutputT,MetricsT>
- Type Parameters:
OutputT- the type of the outputMetricsT- the type of the metrics
- All Superinterfaces:
Measureable<MetricsT>,ProducerWorker<OutputT>
public interface MeasuredProducerWorker<OutputT,MetricsT>
extends ProducerWorker<OutputT>, Measureable<MetricsT>
- See Also:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <OutputT> MeasuredProducerWorker<OutputT, NoMetrics> withNoMetrics(ProducerWorker<OutputT> worker) Methods inherited from interface io.aleph0.yap.core.Measureable
checkMetrics, flushMetricsMethods inherited from interface io.aleph0.yap.core.ProducerWorker
produce
-
Method Details
-
withNoMetrics
static <OutputT> MeasuredProducerWorker<OutputT,NoMetrics> withNoMetrics(ProducerWorker<OutputT> worker) - Type Parameters:
OutputT- the type of the output- Parameters:
worker- the unmeasured worker to wrap- Returns:
- the measured worker
-