mongo::KillCurrentOp Class Reference

#include <curop.h>

List of all members.

Public Member Functions

void checkForInterrupt (bool heedMutex=true)
const char * checkForInterruptNoAssert (bool heedMutex=true)
bool globalInterruptCheck () const
void kill (AtomicUInt i)
void killAll ()

Private Member Functions

void interruptJs (AtomicUInt *op)

Private Attributes

volatile bool _globalKill

Detailed Description

Definition at line 313 of file curop.h.


Member Function Documentation

void mongo::KillCurrentOp::checkForInterrupt ( bool  heedMutex = true  )  [inline]

Definition at line 321 of file curop.h.

const char* mongo::KillCurrentOp::checkForInterruptNoAssert ( bool  heedMutex = true  )  [inline]
Returns:
"" if not interrupted. otherwise, you should stop.

Definition at line 331 of file curop.h.

bool mongo::KillCurrentOp::globalInterruptCheck (  )  const [inline]
Returns:
true if global interrupt and should terminate the operation

Definition at line 319 of file curop.h.

void mongo::KillCurrentOp::interruptJs ( AtomicUInt op  )  [private]
void mongo::KillCurrentOp::kill ( AtomicUInt  i  ) 
void mongo::KillCurrentOp::killAll (  ) 

Member Data Documentation

volatile bool mongo::KillCurrentOp::_globalKill [private]

Definition at line 343 of file curop.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:55 2013