@BetaApi(value="The surface for batching is not stable yet and may change in the future.")
public interface ThresholdBatchReceiver<BatchT>
| Modifier and Type | Method and Description |
|---|---|
com.google.api.core.ApiFuture<?> |
processBatch(BatchT batch)
Process the given batch asynchronously.
|
void |
validateBatch(BatchT message)
Validate that the batch can be received by this ThresholdBatchReceiver.
|
void validateBatch(BatchT message)
com.google.api.core.ApiFuture<?> processBatch(BatchT batch)