-
#include "tensorstore/kvstore/operations.h" - struct tensorstore::kvstore::TransactionalReadGenerationConditions;
Conditions on the existing generation for transactional read operations.
Data members¶
- StorageGeneration if_not_equal;
The read is aborted if the generation associated with the stored
keymatchesif_not_equal. The special values ofStorageGeneration::Unknown()(the default) orStorageGeneration::NoValue()disable this condition.
Methods¶
- bool Matches(const StorageGeneration& generation) const;
Returns
trueifgenerationsatisfies the constraints.