Google Cloud Bigtable C++ Client
1.42.0
A C++ Client Library for Google Cloud Bigtable
|
Configuration for MutationBatcher
.
More...
#include <google/cloud/bigtable/mutation_batcher.h>
Public Member Functions | |
Options () | |
Options & | SetMaxMutationsPerBatch (size_t max_mutations_per_batch_arg) |
A single RPC will not have more mutations than this. More... | |
Options & | SetMaxSizePerBatch (size_t max_size_per_batch_arg) |
Sum of mutations' sizes in a single RPC will not be larger than this. More... | |
Options & | SetMaxBatches (size_t max_batches_arg) |
There will be no more RPCs outstanding (except for retries) than this. More... | |
Options & | SetMaxOutstandingSize (size_t max_outstanding_size_arg) |
MutationBatcher will at most admit mutations of this total size. More... | |
Options & | SetMaxOutstandingMutations (size_t max_outstanding_mutations_arg) |
MutationBatcher will at most admit this many mutations. More... | |
Public Attributes | |
std::size_t | max_mutations_per_batch |
std::size_t | max_size_per_batch |
std::size_t | max_batches |
std::size_t | max_outstanding_size |
std::size_t | max_outstanding_mutations |
Configuration for MutationBatcher
.
Definition at line 60 of file mutation_batcher.h.
google::cloud::bigtable::MutationBatcher::Options::Options | ( | ) |
|
inline |
There will be no more RPCs outstanding (except for retries) than this.
Definition at line 73 of file mutation_batcher.h.
Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxMutationsPerBatch | ( | size_t | max_mutations_per_batch_arg | ) |
A single RPC will not have more mutations than this.
Options& google::cloud::bigtable::MutationBatcher::Options::SetMaxOutstandingMutations | ( | size_t | max_outstanding_mutations_arg | ) |
MutationBatcher will at most admit this many mutations.
|
inline |
MutationBatcher will at most admit mutations of this total size.
Definition at line 79 of file mutation_batcher.h.
|
inline |
Sum of mutations' sizes in a single RPC will not be larger than this.
Definition at line 67 of file mutation_batcher.h.
std::size_t google::cloud::bigtable::MutationBatcher::Options::max_batches |
Definition at line 89 of file mutation_batcher.h.
std::size_t google::cloud::bigtable::MutationBatcher::Options::max_mutations_per_batch |
Definition at line 87 of file mutation_batcher.h.
std::size_t google::cloud::bigtable::MutationBatcher::Options::max_outstanding_mutations |
Definition at line 91 of file mutation_batcher.h.
std::size_t google::cloud::bigtable::MutationBatcher::Options::max_outstanding_size |
Definition at line 90 of file mutation_batcher.h.
std::size_t google::cloud::bigtable::MutationBatcher::Options::max_size_per_batch |
Definition at line 88 of file mutation_batcher.h.