Class BatchingCallable<RequestT,​ResponseT>


  • @InternalApi("For use by transport-specific implementations")
    public class BatchingCallable<RequestT,​ResponseT>
    extends UnaryCallable<RequestT,​ResponseT>
    A UnaryCallable which will batch requests based on the given BatchingDescriptor and BatcherFactory. The BatcherFactory provides a distinct Batcher for each partition as specified by the BatchingDescriptor. An example of a batching partition would be a pubsub topic.

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