Send feedback
Class BigtableBatchingCallSettings.Builder (2.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.11.0 keyboard_arrow_down
public static class BigtableBatchingCallSettings . Builder extends UnaryCallSettings . Builder<BulkMutation , Void >
Methods
build()
public BigtableBatchingCallSettings build ()
Returns
Overrides
disableLatencyBasedThrottling()
public BigtableBatchingCallSettings . Builder disableLatencyBasedThrottling ()
Disable latency based throttling.
Returns
enableLatencyBasedThrottling(long targetRpcLatency)
public BigtableBatchingCallSettings . Builder enableLatencyBasedThrottling ( long targetRpcLatency )
Enable latency based throttling. The number of allowed in-flight requests will be adjusted to
reach the target rpc latency.
Parameter
Name Description targetRpcLatency long
Returns
getBatchingSettings()
public BatchingSettings getBatchingSettings ()
Returns
getTargetRpcLatencyMs()
public Long getTargetRpcLatencyMs ()
Gets target rpc latency if latency based throttling is enabled. Otherwise returns null.
Returns
isLatencyBasedThrottlingEnabled()
public boolean isLatencyBasedThrottlingEnabled ()
Gets if latency based throttling is enabled.
Returns
setBatchingSettings(BatchingSettings batchingSettings)
public BigtableBatchingCallSettings . Builder setBatchingSettings ( BatchingSettings batchingSettings )
Sets the batching settings with various thresholds.
Parameter
Returns
setRetrySettings(RetrySettings retrySettings)
public BigtableBatchingCallSettings . Builder setRetrySettings ( RetrySettings retrySettings )
Parameter
Returns
Overrides
setRetryableCodes(StatusCode.Code[] codes)
public BigtableBatchingCallSettings . Builder setRetryableCodes ( StatusCode . Code [] codes )
Sets the rpc failure code , for which retries should be performed.
Parameter
Name Description codes Code []
Returns
Overrides
setRetryableCodes(Set<StatusCode.Code> retryableCodes)
public BigtableBatchingCallSettings . Builder setRetryableCodes ( Set<StatusCode . Code > retryableCodes )
Sets the rpc failure code , for which retries should be performed.
Parameter
Name Description retryableCodes Set <Code >
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-05 UTC."],[],[]]