class FtiTransactionManager

Class to store and execute FTI transactions. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods

Protected Members


Detailed Description

Class to store and execute FTI transactions. An FTI transaction is a a sequence of FTI commands that should executed atomically.

typedef TransactionManager::Operation Operation

Operation

enum { TIMEOUT_MS = 5000 }

 FtiTransactionManager (EventLoop& e, FtiConfig& ftic, uint32_t max_pending = 10)

FtiTransactionManager

FtiConfig&  ftic ()

ftic

const string&  error ()

error

[const]

Returns: string representing first error during commit. If string is empty(), then no error occurred.

inline void  unset_error ()

unset_error

[protected]

inline bool  set_unset_error (const string& error)

set_unset_error

[protected]

void  pre_commit (uint32_t tid)

pre_commit

[protected]

Reimplemented from TransactionManager.

void  post_commit (uint32_t tid)

post_commit

[protected]

Reimplemented from TransactionManager.

void  operation_result (bool success, const TransactionOperation& op)

operation_result

[protected]

Reimplemented from TransactionManager.

FtiConfig& _ftic

_ftic

[protected]

string _error

_error

[protected]

inline void  unset_error ()

unset_error

[protected]

inline bool  set_unset_error (const string& error)

set_unset_error

[protected]


Generated by: pavlin on possum.icir.org on Wed Apr 13 21:53:05 2005, using kdoc $.