Interface ProcessorWorker<InputT,OutputT>

Type Parameters:
InputT - the type of the input
OutputT - the type of the output
All Known Subinterfaces:
MeasuredProcessorWorker<InputT,OutputT,MetricsT>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ProcessorWorker<InputT,OutputT>
A worker that takes inputs via a source and produces outputs via a sink.

This worker is not measured, which is to say it does not produce any metrics.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(Source<InputT> source, Sink<OutputT> sink)