Kyoto Tycoon
Public Member Functions
kyototycoon::TimedDB::UpdateTrigger Class Reference

Interface to trigger update operations. More...

#include <kttimeddb.h>

List of all members.

Public Member Functions

virtual ~UpdateTrigger ()
 Destructor.
virtual void trigger (const char *mbuf, size_t msiz)=0
 Trigger an update operation.
virtual void begin_transaction ()=0
 Begin transaction.
virtual void end_transaction (bool commit)=0
 End transaction.

Detailed Description

Interface to trigger update operations.


Constructor & Destructor Documentation

Destructor.


Member Function Documentation

virtual void kyototycoon::TimedDB::UpdateTrigger::trigger ( const char *  mbuf,
size_t  msiz 
) [pure virtual]

Trigger an update operation.

Parameters:
mbufthe pointer to the message region.
msizthe size of the message region.

Begin transaction.

virtual void kyototycoon::TimedDB::UpdateTrigger::end_transaction ( bool  commit) [pure virtual]

End transaction.

Parameters:
committrue to commit the transaction, or false to abort the transaction.