Bdb packages | Design docs | Source docs | Guidelines | Recent releases

Search | Site Map .

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

BdbHintKernel Class Reference
[BdbClusteringServer]

#include <BdbHintKernel.hh>

List of all members.

Public Methods

 BdbHintKernel ()
 ~BdbHintKernel ()

Static Public Methods

d_Boolean isInit ()
void overrideClusterName (const char *name)
BdbStatus initORB (int argc, char **argv)
BdbStatus getOneContainer (const char *sdName, char authLevel, const char *authName, const char *compName, const char *streamName, ooRef(ooObj)&ref, d_ULong &maxNoPages)
BdbStatus returnAllContainers ()
BdbStatus returnContainers (std::set< BdbClSrvCRef *, babar::Collection::PtrLess > *s)

Static Public Attributes

const int _maxNoFailuresAllowed = 5

Static Private Methods

BdbStatus initFDID ()

Static Private Attributes

BdbClustSrvModule::BdbClusteringServer_var _clustServerRef
BdbClustSrvModule::ClientDescr _myDescr
char * _clusterName = 0
d_Boolean _orbIsInit = d_False
int _noFailures = 0
int _fdid = 0


Constructor & Destructor Documentation

BdbHintKernel::BdbHintKernel  
 

Definition at line 51 of file BdbHintKernel.cc.

BdbHintKernel::~BdbHintKernel  
 

Definition at line 56 of file BdbHintKernel.cc.

References _orbIsInit, d_False, and returnAllContainers().


Member Function Documentation

BdbStatus BdbHintKernel::getOneContainer const char *    sdName,
char    authLevel,
const char *    authName,
const char *    compName,
const char *    streamName,
ooRef(ooObj)&    ref,
d_ULong   maxNoPages
[static]
 

Definition at line 168 of file BdbHintKernel.cc.

References _clusterName, _clustServerRef, _maxNoFailuresAllowed, _myDescr, _noFailures, _orbIsInit, authLevel, BdbcError, BdbcSuccess, cout, COUT1, COUT1n, BdbClusterConfigMgr::getClusterName(), and ooRef().

Referenced by BdbSrvAbsBaseClustH::requestContainer().

BdbStatus BdbHintKernel::initFDID   [static, private]
 

Definition at line 148 of file BdbHintKernel.cc.

References _fdid, BdbDomain::activeInstance(), BdbcError, BdbcNoOpen, BdbcSuccess, BdbDomainOODB::commit(), COUT1, BdbDomainOODB::mode(), and BdbDomainOODB::startRead().

Referenced by initORB().

BdbStatus BdbHintKernel::initORB int    argc,
char **    argv
[static]
 

Definition at line 65 of file BdbHintKernel.cc.

References _clustServerRef, _fdid, _myDescr, _orbIsInit, BdbcError, BdbcSuccess, COUT1, d_True, initFDID(), BdbClustHintSetupMgr::instance(), and BdbClustHintSetupMgr::iorFilePath().

Referenced by BdbSrvAbsBaseClustH::requestContainer().

d_Boolean BdbHintKernel::isInit   [inline, static]
 

Definition at line 61 of file BdbHintKernel.hh.

References _orbIsInit.

Referenced by BdbSrvAbsBaseClustH::requestContainer().

void BdbHintKernel::overrideClusterName const char *    name [static]
 

Definition at line 366 of file BdbHintKernel.cc.

References _clusterName.

Referenced by ClustApplication::runEvsBatchTest().

BdbStatus BdbHintKernel::returnAllContainers   [static]
 

Definition at line 276 of file BdbHintKernel.cc.

References _clustServerRef, _myDescr, _orbIsInit, BdbcError, BdbcSuccess, cout, and COUT1.

Referenced by ~BdbHintKernel().

BdbStatus BdbHintKernel::returnContainers std::set< BdbClSrvCRef *, babar::Collection::PtrLess > *    s [static]
 

Definition at line 312 of file BdbHintKernel.cc.

References _clustServerRef, _myDescr, _orbIsInit, BdbcError, BdbcSuccess, cout, COUT1, BdbClSrvCRef::get_nPage(), len, and ooRef().

Referenced by BdbSrvAbsBaseClustH::internalReturnCollectedConts(), and BdbSrvAbsBaseClustH::~BdbSrvAbsBaseClustH().


Member Data Documentation

char * BdbHintKernel::_clusterName = 0 [static, private]
 

Definition at line 44 of file BdbHintKernel.cc.

Referenced by getOneContainer(), and overrideClusterName().

BdbClustSrvModule::BdbClusteringServer_var BdbHintKernel::_clustServerRef [static, private]
 

Definition at line 42 of file BdbHintKernel.cc.

Referenced by getOneContainer(), initORB(), returnAllContainers(), and returnContainers().

int BdbHintKernel::_fdid = 0 [static, private]
 

Definition at line 48 of file BdbHintKernel.cc.

Referenced by initFDID(), and initORB().

const int BdbHintKernel::_maxNoFailuresAllowed = 5 [static]
 

Definition at line 46 of file BdbHintKernel.cc.

Referenced by BdbActiveDbGroupT::cleanupAfterPrecrFailure(), getOneContainer(), BdbActiveDbGroupT::getOneContainer(), and BdbActiveDbGroupT::precrHung().

BdbClustSrvModule::ClientDescr BdbHintKernel::_myDescr [static, private]
 

Definition at line 43 of file BdbHintKernel.cc.

Referenced by getOneContainer(), initORB(), returnAllContainers(), and returnContainers().

int BdbHintKernel::_noFailures = 0 [static, private]
 

Definition at line 47 of file BdbHintKernel.cc.

Referenced by getOneContainer().

d_Boolean BdbHintKernel::_orbIsInit = d_False [static, private]
 

Definition at line 45 of file BdbHintKernel.cc.

Referenced by getOneContainer(), initORB(), isInit(), returnAllContainers(), returnContainers(), and ~BdbHintKernel().


The documentation for this class was generated from the following files:

 


BaBar Public Site | SLAC | News | Links | Who's Who | Contact Us

Page Owner: Jacek Becla
Last Update: October 04, 2002