Interface MeasuredConsumerWorker<InputT,MetricsT>
- Type Parameters:
InputT- the type of the inputMetricsT- the type of the metrics
- All Superinterfaces:
ConsumerWorker<InputT>,Measureable<MetricsT>
public interface MeasuredConsumerWorker<InputT,MetricsT>
extends ConsumerWorker<InputT>, Measureable<MetricsT>
- See Also:
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic <InputT> MeasuredConsumerWorker<InputT, NoMetrics> withNoMetrics(ConsumerWorker<InputT> worker) Methods inherited from interface io.aleph0.yap.core.ConsumerWorker
consumeMethods inherited from interface io.aleph0.yap.core.Measureable
checkMetrics, flushMetrics
-
Method Details
-
withNoMetrics
static <InputT> MeasuredConsumerWorker<InputT,NoMetrics> withNoMetrics(ConsumerWorker<InputT> worker) - Type Parameters:
InputT- the type of the input- Parameters:
worker- the unmeasured worker to wrap- Returns:
- the measured worker
-