class FtiTransactionManager

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

Definition#include <fti_transaction.hh>
InheritsTransactionManager (libxorp) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

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 Mon Jun 9 13:23:54 2003, using kdoc 2.0a54+XORP.