-
#include "tensorstore/kvstore/operations.h"
-
absl::Time
tensorstore::kvstore::TransactionalReadOptions::staleness_bound =
{absl::InfiniteFuture()}; Cached data may be used without validation if not older than
staleness_bound
. Cached data older thanstaleness_bound
must be validated before being returned. A value ofabsl::InfiniteFuture()
(the default) indicates that the result must be current as of the time theRead
request was made, i.e. it is equivalent to specifying the value ofabsl::Now()
just before invokingRead
.