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