#include <durop.h>
Public Member Functions | |
DropDbOp (string db) | |
DropDbOp (BufReader &log) | |
virtual bool | needFilesClosed () |
virtual void | replay () |
virtual string | toString () |
Protected Member Functions | |
virtual void | _serialize (AlignedBuilder &ab) |
Private Attributes | |
string | _db |
record drop of a database
Definition at line 95 of file durop.h.
mongo::dur::DropDbOp::DropDbOp | ( | BufReader & | log | ) |
virtual void mongo::dur::DropDbOp::_serialize | ( | AlignedBuilder & | ab | ) | [protected, virtual] |
DurOp will have already written the opcode for you
Implements mongo::dur::DurOp.
virtual bool mongo::dur::DropDbOp::needFilesClosed | ( | ) | [inline, virtual] |
if the op requires all file to be closed before doing its work, returns true.
Reimplemented from mongo::dur::DurOp.
virtual void mongo::dur::DropDbOp::replay | ( | ) | [virtual] |
replay the operation (during recovery) throws
For now, these are not replayed during the normal WRITETODATAFILES phase, since these operations are handled in other parts of the code. At some point this may change.
Implements mongo::dur::DurOp.
virtual string mongo::dur::DropDbOp::toString | ( | ) | [inline, virtual] |
Implements mongo::dur::DurOp.
string mongo::dur::DropDbOp::_db [private] |