@BetaApi(value="This surface is likely to change as the batching surface evolves.") public final class BigtableBatchingCallSettings extends com.google.api.gax.rpc.UnaryCallSettings<BulkMutation,Void>
Sample configuration:
BigtableBatchingCallSettings defaultBatchingCallSettings =
bigtableDataCallSettings.getStubSettings().bulkMutateRowsSettings();
BigtableBatchingCallSettings customBatchingCallSettings = defaultBatchingCallSettings.toBuilder()
.setBatchingSettings(
defaultBatchingCallSettings.getBatchingSettings().toBuilder()
.setDelayThreshold(Duration.ofSeconds(10))
.build())
.setRetryableCodes(Code.DEADLINE_EXCEEDED)
.build();
for batching thresholds explantion.
,
for retry configuration.
Modifier and Type | Class and Description |
---|---|
static class |
BigtableBatchingCallSettings.Builder
A base builder class for
BigtableBatchingCallSettings . |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.batching.BatchingSettings |
getBatchingSettings()
Returns batching settings which contains multiple batch threshold levels.
|
BigtableBatchingCallSettings.Builder |
toBuilder()
Get a builder with the same values as this object.
|
public com.google.api.gax.batching.BatchingSettings getBatchingSettings()
public final BigtableBatchingCallSettings.Builder toBuilder()
BigtableBatchingCallSettings
for a sample settings configuration.toBuilder
in class com.google.api.gax.rpc.UnaryCallSettings<BulkMutation,Void>
Copyright © 2019 Google LLC. All rights reserved.