mongo::dur::DropDbOp Class Reference

#include <durop.h>

Inheritance diagram for mongo::dur::DropDbOp:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

record drop of a database

Definition at line 95 of file durop.h.


Constructor & Destructor Documentation

mongo::dur::DropDbOp::DropDbOp ( BufReader log  ) 
mongo::dur::DropDbOp::DropDbOp ( string  db  )  [inline]

Definition at line 98 of file durop.h.


Member Function Documentation

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.

Definition at line 102 of file durop.h.

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.

Definition at line 101 of file durop.h.


Member Data Documentation

string mongo::dur::DropDbOp::_db [private]

Definition at line 106 of file durop.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


mongodb
Author(s): Nate Koenig
autogenerated on Fri Jan 11 12:15:58 2013