Class BatcherFactory<RequestT,​ResponseT>


  • @InternalApi
    public final class BatcherFactory<RequestT,​ResponseT>
    extends Object
    A Factory class which, for each unique partitionKey, creates a trio including a ThresholdBatcher, BatchExecutor, and ThresholdBatchingForwarder. The ThresholdBatchingForwarder pulls items from the ThresholdBatcher and forwards them to the BatchExecutor for processing.

    This is public only for technical reasons, for advanced usage.