Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

DBCache< T_R > Class Template Reference

This is the interface class of a database cacher. More...

#include <DBCache.hpp>

Inheritance diagram for DBCache< T_R >:

Inheritance graph
[legend]
List of all members.

Public Types

typedef T_R::params_t params_t

Public Member Functions

 DBCache (const params_t *par)
template<class BIS>
counter_t nextTransactionBIS (BIS &transaction)
template<class UAC>
bool nextTransactionUAC (UAC &transaction)
void rewind ()
 see: TransactionReader::rewind

Detailed Description

template<class T_R>
class DBCache< T_R >

This is the interface class of a database cacher.

A transaction cacher is actually a wrapper around a transaction reader (see: class TransactionReader). In general a database cacher collects the same transactions together and stores them in an efficient way. You can get each transaction one-by-one. For this use nextTransactionBIS or nextTransactionUAC methods.

There are many transaction cacher. They differ in the data structure that stores the transactions.

Definition at line 48 of file DBCache.hpp.


Member Typedef Documentation

template<class T_R>
typedef T_R::params_t DBCache< T_R >::params_t
 

Reimplemented in DBCacheTransactionShrinker.

Definition at line 51 of file DBCache.hpp.


Constructor & Destructor Documentation

template<class T_R>
DBCache< T_R >::DBCache const params_t par  )  [inline]
 

Definition at line 52 of file DBCache.hpp.


Member Function Documentation

template<class T_R>
template<class BIS>
counter_t DBCache< T_R >::nextTransactionBIS BIS &  transaction  )  [inline]
 

Definition at line 55 of file DBCache.hpp.

template<class T_R>
template<class UAC>
bool DBCache< T_R >::nextTransactionUAC UAC &  transaction  )  [inline]
 

Definition at line 58 of file DBCache.hpp.

template<class T_R>
void DBCache< T_R >::rewind  )  [inline]
 

see: TransactionReader::rewind

Definition at line 62 of file DBCache.hpp.


The documentation for this class was generated from the following file:
Generated on Sun Sep 17 17:55:15 2006 for FIM environment by  doxygen 1.4.4