Struct Options (2.33.0)

Configuration for MutationBatcher.

Constructors

Options()

Functions

SetMaxMutationsPerBatch(size_t)

A single RPC will not have more mutations than this.

Parameter
Name Description
max_mutations_per_batch_arg size_t
Returns
Type Description
Options &

SetMaxSizePerBatch(size_t)

Sum of mutations' sizes in a single RPC will not be larger than this.

Parameter
Name Description
max_size_per_batch_arg size_t
Returns
Type Description
Options &

SetMaxBatches(size_t)

There will be no more RPCs outstanding (except for retries) than this.

Parameter
Name Description
max_batches_arg size_t
Returns
Type Description
Options &

SetMaxOutstandingSize(size_t)

MutationBatcher will at most admit mutations of this total size.

Parameter
Name Description
max_outstanding_size_arg size_t
Returns
Type Description
Options &

SetMaxOutstandingMutations(size_t)

MutationBatcher will at most admit this many mutations.

Parameter
Name Description
max_outstanding_mutations_arg size_t
Returns
Type Description
Options &