Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbProxyBaseUsingRevision< T > Class Template Reference

This class specializes a base class for the Condition/DB proxies. More...

#include <CdbBdbProxyBase.hh>

Inheritance diagram for CdbBdbProxyBaseUsingRevision< T >:

CdbBdbProxyBase< T > IfdDataProxyTemplate CdbBdbProxyCache List of all members.

Public Member Functions

 CdbBdbProxyBaseUsingRevision (const std::string &theRevisionName, unsigned int thePartitionId=0, BdbCondDefStrategy *theStrategy=0)
 The normal constructor.

virtual ~CdbBdbProxyBaseUsingRevision ()
 The destructor.

virtual T * faultHandler (IfdProxyDict *theDict, const IfdKey &theKey, AbsArg &theArg)
 The ProxyDict fault handler.


Detailed Description

template<class T>
class CdbBdbProxyBaseUsingRevision< T >

This class specializes a base class for the Condition/DB proxies.

This specialized version of the proxy base class can be used when condition objects are fetched from the CDB using an explicitly specified revision name and partition identifier rather than relying on configurations of condityions in teh current view.

See also:
CdbBdbProxyBase

Definition at line 150 of file CdbBdbProxyBase.hh.


Constructor & Destructor Documentation

template<class T>
CdbBdbProxyBaseUsingRevision< T >::CdbBdbProxyBaseUsingRevision const std::string &    theRevisionName,
unsigned int    thePartitionId = 0,
BdbCondDefStrategy *    theStrategy = 0
[explicit]
 

The normal constructor.

A revision to be used by the proxy when finding persistent objects is specified by its name in a scope of a partition. Note, that for the regular conditions the partition identifier is always 0.

The last optional argument of the constructor takes the strategy object for locating GenEnv parameters. If 0 pointer is passed then a default strategy will be enforced.

Note, that the ownreship of the strategy object is also passed to the constructor.

Definition at line 197 of file CdbBdbProxyBase.cc.

template<class T>
CdbBdbProxyBaseUsingRevision< T >::~CdbBdbProxyBaseUsingRevision   [virtual]
 

The destructor.

Definition at line 206 of file CdbBdbProxyBase.cc.


Member Function Documentation

template<class T>
T * CdbBdbProxyBaseUsingRevision< T >::faultHandler IfdProxyDict *    theDict,
const IfdKey &    theKey,
AbsArg &    theArg
[virtual]
 

The ProxyDict fault handler.

This method overload the default implementations of the same method from the base class.

See also:
CdbBdbProxyBase::faultHandler()

Reimplemented from CdbBdbProxyBase< T >.

Definition at line 211 of file CdbBdbProxyBase.cc.

References CdbBdbProxyBase< T >::invalidateTransientCache(), CdbBdbProxyCache::isCacheValid(), CdbBdbProxyBase< T >::redefinedFaultHandler(), CdbBdbProxyBase< T >::setTransientCache(), CdbBdbProxyBase< T >::strategy(), CdbStatus::Success, CdbBdbProxyBase< T >::transientCache(), CdbBdbProxyBase< T >::tryAnotherTime(), and CdbBdbProxyCache::updateCache().


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:18 2005 for CDB by doxygen1.3-rc3