#include <CmdInterpreter.h>
Public Member Functions | |
DbHandle () | |
virtual | ~DbHandle () |
Public Attributes | |
SharedDatabase | pDb |
boost::shared_ptr< TraceTarget > | pTraceTarget |
StatsTimer | statsTimer |
SharedExecStreamGovernor | pResourceGovernor |
Definition at line 54 of file CmdInterpreter.h.
CmdInterpreter::DbHandle::DbHandle | ( | ) | [inline, explicit] |
CmdInterpreter::DbHandle::~DbHandle | ( | ) | [virtual] |
Definition at line 141 of file CmdInterpreter.cpp.
References JniUtil::decrementHandleCount(), pDb, JniUtil::shutdown(), statsTimer, and StatsTimer::stop().
00142 { 00143 statsTimer.stop(); 00144 00145 // close database before trace 00146 if (pDb) { 00147 pDb->close(); 00148 } 00149 JniUtil::decrementHandleCount(DBHANDLE_TRACE_TYPE_STR, this); 00150 00151 JniUtil::shutdown(); 00152 }
Definition at line 56 of file CmdInterpreter.h.
Referenced by CmdInterpreter::beginTxn(), CmdInterpreter::visit(), and ~DbHandle().
boost::shared_ptr<TraceTarget> CmdInterpreter::DbHandle::pTraceTarget |
Definition at line 57 of file CmdInterpreter.h.
Definition at line 59 of file CmdInterpreter.h.
Referenced by CmdInterpreter::beginTxn(), and CmdInterpreter::visit().