![]() |
Storage Engine API
|
Bitmap to remember things we have already marked for journaling. More...
#include <dur_commitjob.h>
Bitmap to remember things we have already marked for journaling.
False negatives are ok if infrequent, since they impact performance.
Public Member Functions | |
Already () | |
void | clear () |
bool | checkAndSet (void *p, int len) |
Checks if we have Already recorded/indicated our write intent for this region of memory and automatically upgrades the length if the length was shorter previously. More... | |
Private Member Functions | |
MONGO_DISALLOW_COPYING (Already) | |
Static Private Member Functions | |
static unsigned | hashPointer (void *v) |
Private Attributes | |
std::pair< void *, int > | nodes [Prime] |
|
inline |
|
inline |
Checks if we have Already recorded/indicated our write intent for this region of memory and automatically upgrades the length if the length was shorter previously.
|
inline |
|
inlinestaticprivate |
|
private |
|
private |