-
#include "tensorstore/staleness_bound.h" - struct tensorstore::StalenessBounds;
Combines staleness bounds for metadata and data.
Constructors¶
- StalenessBounds();
Initializes the
metadataanddatabound toabsl::InfiniteFuture(), which ensures stale data is never seen.
- StalenessBounds(absl::Time newer_than_time);
Initializes both the
metadataanddatabounds tonewer_than_time.
- StalenessBounds(absl::Duration duration_before_now);
Initializes both the
metadataanddatabounds toduration_before_now.
Data members¶
- StalenessBound metadata;
Staleness bound for metadata.
- StalenessBound data;
Staleness bound for data.
Methods¶
- StalenessBounds BoundAtOpen(absl::Time open_time) const;
Returns the effective bounds given the specified
open_time.