mongo::dur::FileCreatedOp Class Reference

#include <durop.h>

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

List of all members.

Public Member Functions

 FileCreatedOp (string f, unsigned long long l)
 FileCreatedOp (BufReader &log)
virtual bool needFilesClosed ()
virtual void replay ()
virtual string toString ()

Protected Member Functions

virtual void _serialize (AlignedBuilder &ab)

Private Attributes

unsigned long long _len
RelativePath _p

Detailed Description

indicates creation of a new file

Definition at line 79 of file durop.h.


Constructor & Destructor Documentation

mongo::dur::FileCreatedOp::FileCreatedOp ( BufReader log  ) 
mongo::dur::FileCreatedOp::FileCreatedOp ( string  f,
unsigned long long  l 
)

param f filename to create with path


Member Function Documentation

virtual void mongo::dur::FileCreatedOp::_serialize ( AlignedBuilder ab  )  [protected, virtual]

DurOp will have already written the opcode for you

Implements mongo::dur::DurOp.

virtual bool mongo::dur::FileCreatedOp::needFilesClosed (  )  [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::FileCreatedOp::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::FileCreatedOp::toString (  )  [virtual]

Implements mongo::dur::DurOp.


Member Data Documentation

unsigned long long mongo::dur::FileCreatedOp::_len [private]

Definition at line 91 of file durop.h.

Definition at line 90 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:59 2013