Uses of Class
com.google.api.gax.batching.ThresholdBatcher.Builder
Packages that use ThresholdBatcher.Builder
-
Uses of ThresholdBatcher.Builder in com.google.api.gax.batching
Methods in com.google.api.gax.batching that return ThresholdBatcher.BuilderModifier and TypeMethodDescriptionstatic <E> ThresholdBatcher.Builder<E>ThresholdBatcher.newBuilder()Get a new builder for a ThresholdBatcher.ThresholdBatcher.Builder.setBatchMerger(BatchMerger<E> batchMerger) Set the batch merger for the ThresholdBatcher.ThresholdBatcher.Builder.setExecutor(ScheduledExecutorService executor) Set the executor for the ThresholdBatcher.ThresholdBatcher.Builder.setFlowController(BatchingFlowController<E> flowController) Set the flow controller for the ThresholdBatcher.ThresholdBatcher.Builder.setMaxDelay(org.threeten.bp.Duration maxDelay) Set the max delay for a batch.ThresholdBatcher.Builder.setReceiver(ThresholdBatchReceiver<E> receiver) Set the threshold batch receiver for the ThresholdBatcher.ThresholdBatcher.Builder.setThresholds(Collection<BatchingThreshold<E>> thresholds) Set the thresholds for the ThresholdBatcher.