Struct Options (2.15.1)

Configuration for MutationBatcher.

Constructors

Options()

Functions

SetMaxMutationsPerBatch(size_t)

A single RPC will not have more mutations than this.

Parameter
NameDescription
max_mutations_per_batch_arg size_t
Returns
TypeDescription
Options &

SetMaxSizePerBatch(size_t)

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

Parameter
NameDescription
max_size_per_batch_arg size_t
Returns
TypeDescription
Options &

SetMaxBatches(size_t)

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

Parameter
NameDescription
max_batches_arg size_t
Returns
TypeDescription
Options &

SetMaxOutstandingSize(size_t)

MutationBatcher will at most admit mutations of this total size.

Parameter
NameDescription
max_outstanding_size_arg size_t
Returns
TypeDescription
Options &

SetMaxOutstandingMutations(size_t)

MutationBatcher will at most admit this many mutations.

Parameter
NameDescription
max_outstanding_mutations_arg size_t
Returns
TypeDescription
Options &