![]() |
Storage Engine API
|
Registers the removal of an entry from the _collections cache with the RecoveryUnit, delaying actual deletion of the information until the change is commited. More...
Registers the removal of an entry from the _collections cache with the RecoveryUnit, delaying actual deletion of the information until the change is commited.
This allows for easy rollback.
Public Member Functions | |
| EntryRemoval (StringData ns, MMAPV1DatabaseCatalogEntry *catalogEntry, Entry *cachedEntry) | |
| void | rollback () |
| void | commit (boost::optional< Timestamp >) |
Public Member Functions inherited from mongo::RecoveryUnit::Change | |
| virtual | ~Change () |
Private Attributes | |
| const std::string | _ns |
| MMAPV1DatabaseCatalogEntry *const | _catalogEntry |
| Entry *const | _cachedEntry |
|
inline |
|
inlinevirtual |
Implements mongo::RecoveryUnit::Change.
|
inlinevirtual |
Implements mongo::RecoveryUnit::Change.
|
private |
|
private |
|
private |