![]() |
Storage Engine API
|
record drop of a database More...
#include <durop.h>
record drop of a database
Public Member Functions | |
DropDbOp (BufReader &log) | |
DropDbOp (const std::string &db) | |
virtual void | replay () |
throws More... | |
virtual std::string | toString () |
virtual bool | needFilesClosed () |
if the op requires all file to be closed before doing its work, returns true. More... | |
![]() | |
DurOp (unsigned opcode) | |
virtual | ~DurOp () |
void | serialize (AlignedBuilder &ab) |
serialize the op out to a builder which will then be written (presumably) to the journal More... | |
Protected Member Functions | |
virtual void | _serialize (AlignedBuilder &ab) |
DurOp will have already written the opcode for you. More... | |
Private Attributes | |
std::string | _db |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< DurOp > | read (unsigned opcode, BufReader &br) |
read a durop from journal file referenced by br. More... | |
mongo::dur::DropDbOp::DropDbOp | ( | BufReader & | log | ) |
|
inline |
|
protectedvirtual |
DurOp will have already written the opcode for you.
Implements mongo::dur::DurOp.
|
inlinevirtual |
if the op requires all file to be closed before doing its work, returns true.
Reimplemented from mongo::dur::DurOp.
|
virtual |
throws
Implements mongo::dur::DurOp.
|
inlinevirtual |
Implements mongo::dur::DurOp.
|
private |