![]() |
Storage Engine API
|
simple hash map for region -> status this constitutes a single region of time it does chaining, but very short chains More...
simple hash map for region -> status this constitutes a single region of time it does chaining, but very short chains
Public Member Functions | |
| Slice () | |
| void | reset () |
| State | get (int regionHash, size_t region, short offset) |
| bool | put (int regionHash, size_t region, short offset) |
Private Member Functions | |
| Entry * | _get (int start, size_t region, bool add) |
Private Attributes | |
| Entry | _data [SliceSize] |
| mongo::RecordAccessTracker::Slice::Slice | ( | ) |
|
private |
| RecordAccessTracker::State mongo::RecordAccessTracker::Slice::get | ( | int | regionHash, |
| size_t | region, | ||
| short | offset | ||
| ) |
| bool mongo::RecordAccessTracker::Slice::put | ( | int | regionHash, |
| size_t | region, | ||
| short | offset | ||
| ) |
| void mongo::RecordAccessTracker::Slice::reset | ( | ) |