SizeInfo is a thread-safe buffer for keeping track of the number of documents in a collection and their data size.
More...
#include <wiredtiger_size_storer.h>
SizeInfo is a thread-safe buffer for keeping track of the number of documents in a collection and their data size.
Storing a SizeInfo in the WiredTigerSizeStorer results in shared ownership. The SizeInfo may still be updated after it is stored in the SizeStorer. The 'dirty' field is used by the size storer to cheaply merge duplicate stores of the same SizeInfo.
◆ ~SizeInfo()
mongo::WiredTigerSizeStorer::SizeInfo::~SizeInfo |
( |
| ) |
|
|
inline |
◆ _dirty
AtomicBool mongo::WiredTigerSizeStorer::SizeInfo::_dirty |
|
private |
◆ dataSize
AtomicInt64 mongo::WiredTigerSizeStorer::SizeInfo::dataSize |
◆ numRecords
AtomicInt64 mongo::WiredTigerSizeStorer::SizeInfo::numRecords |
◆ WiredTigerSizeStorer
friend mongo::WiredTigerSizeStorer::SizeInfo::WiredTigerSizeStorer |
|
private |
The documentation for this struct was generated from the following file: