#include <clientcursor.h>
Public Member Functions | |
string | name () const |
void | run () |
Definition at line 389 of file clientcursor.h.
string mongo::ClientCursorMonitor::name | ( | ) | const [inline, virtual] |
Implements mongo::BackgroundJob.
Definition at line 391 of file clientcursor.h.
void mongo::ClientCursorMonitor::run | ( | ) | [virtual] |
define this to do your work. after this returns, state is set to done. after this returns, deleted if deleteSelf true.
NOTE: if run() throws, the exception will be caught within 'this' object and will ultimately lead to the BackgroundJob's thread being finished, as if run() returned.
Implements mongo::BackgroundJob.