-
#include "tensorstore/kvstore/operations.h"
-
StorageGeneration
tensorstore::kvstore::WriteGenerationConditions::if_equal; The write is aborted if the existing generation associated with the stored
key
does not matchif_equal
.The special value of
StorageGeneration::Unknown()
(the default) disables this condition.The special value of
StorageGeneration::NoValue()
specifies a condition that thekey
does not have an existing value.