Kyoto Cabinet
|
Interface to trigger meta database operations. More...
#include <kcdb.h>
Public Types | |
enum | Kind { OPEN, CLOSE, CLEAR, ITERATE, SYNCHRONIZE, OCCUPY, BEGINTRAN, COMMITTRAN, ABORTTRAN, MISC = 15 } |
Event kinds. More... | |
Public Member Functions | |
virtual | ~MetaTrigger () |
Destructor. | |
virtual void | trigger (Kind kind, const char *message)=0 |
Trigger a meta database operation. |
Interface to trigger meta database operations.
virtual kyotocabinet::BasicDB::MetaTrigger::~MetaTrigger | ( | ) | [virtual] |
Destructor.
virtual void kyotocabinet::BasicDB::MetaTrigger::trigger | ( | Kind | kind, |
const char * | message | ||
) | [pure virtual] |
Trigger a meta database operation.
kind | the kind of the event. MetaTrigger::OPEN for opening, MetaTrigger::CLOSE for closing, MetaTrigger::CLEAR for clearing, MetaTrigger::ITERATE for iteration, MetaTrigger::SYNCHRONIZE for synchronization, MetaTrigger::OCCUPY for occupation, MetaTrigger::BEGINTRAN for beginning transaction, MetaTrigger::COMMITTRAN for committing transaction, MetaTrigger::ABORTTRAN for aborting transaction, and MetaTrigger::MISC for miscellaneous operations. |
message | the supplement message. |