![]() |
Storage Engine API
|
Declaration of an intent to write to a region of a memory mapped view. More...
#include <dur_commitjob.h>
Declaration of an intent to write to a region of a memory mapped view.
We store the end rather than the start pointer to make operator < faster since that is heavily used in set lookup.
Public Member Functions | |
| WriteIntent () | |
| WriteIntent (void *a, unsigned b) | |
| void * | start () const |
| void * | end () const |
| unsigned | length () const |
| bool | operator< (const WriteIntent &rhs) const |
| bool | overlaps (const WriteIntent &rhs) const |
| bool | contains (const WriteIntent &rhs) const |
| void | absorb (const WriteIntent &other) |
Private Attributes | |
| void * | p |
| unsigned | len |
Friends | |
| std::ostream & | operator<< (std::ostream &out, const WriteIntent &wi) |
|
inline |
|
inline |
| void mongo::dur::WriteIntent::absorb | ( | const WriteIntent & | other | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
private |
|
private |