34 #include "mongo/base/status.h" 35 #include "mongo/bson/timestamp.h" 36 #include "mongo/db/operation_context.h" 37 #include "mongo/util/assert_util.h" Copyright (C) 2014 MongoDB Inc.
Definition: bson_collection_catalog_entry.cpp:38
virtual void dropAllSnapshots()=0
Drops all snapshots and clears the "committed" snapshot.
virtual void setCommittedSnapshot(const Timestamp ×tamp)=0
Sets the snapshot to be used for committed reads.
virtual boost::optional< Timestamp > getLocalSnapshot()=0
Returns the local snapshot timestamp.
virtual ~SnapshotManager()=default
SnapshotManagers are not intended to be deleted through pointers to base type.
Manages snapshots that can be read from at a later time.
Definition: snapshot_manager.h:47
virtual void setLocalSnapshot(const Timestamp ×tamp)=0
Sets the snapshot for the last stable timestamp for reading on secondaries.