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  

BdbDomainOODB Class Reference
[BdbDomainOODB]

#include <BdbDomainOODB.hh>

Inheritance diagram for BdbDomainOODB:

BdbDomain BdbTestDomainOODB BdbTestDomainOODB BdbTestDomainOODB BdbAttachApplication BdbConditions BdbDbBrowse BdbDummyDomain BdbDummyDomain BdbEventStore BdbGenericDomain ClustApplication List of all members.

Public Types

enum  TransReuse { Forbidden, Optional, Signaled, Required }

Public Methods

virtual ~BdbDomainOODB ()
d_Boolean oodbIsInitialized () const
const char * bootName () const
const char * dirName () const
const char * hostName () const
d_ULong cacheInitPages () const
d_ULong cacheMaxPages () const
d_ULong fileDescriptors () const
BdbAMSUsage amsUsage () const
BdbTransToken currentTransToken () const
void setCacheInitPages (d_ULong thePages)
void setCacheMaxPages (d_ULong thePages)
void setFileDescriptors (d_ULong theFiles)
void setAMSUsage (BdbAMSUsage amsUsage)
void setStandalone ()
void ignoreErrors ()
void noticeErrors ()
 BdbHandle (BdbFDObj)&fd() const
BdbDomainOODB * activeDomain () const
d_Boolean isActive () const
d_Boolean transIsOpen () const
BdbStatus activate () const
BdbStatus deactivate () const
d_Boolean isStandalone () const
d_Long rpcTimeout () const
void setRpcTimeout (d_Long secs)
d_Boolean isVTablePointerChecked () const
void setCheckVTablePointer (d_Boolean isChecked)
d_Long lockWait () const
void setLockWait (d_Long waitMode=BdbcNoWait)
BdbIndexMode indexMode () const
BdbMode mrowMode () const
BdbStatus updateAndWait (BdbHandleAny &theObj, const char *const thePrefix, d_ULong timeout=60)
BdbStatus updateAndWait (BdbHandleAny theHandles[], int nrElem, const char *const thePrefix, d_ULong timeout=60)
BdbTransId transId () const
BdbHandleCacheMgrcurrentHandleCache ()
BdbStatus startUpdate (const char *theTag=0)
BdbStatus startRead (const char *theTag=0)
BdbStatus abort (const char *theTag=0)
BdbStatus commit (const char *theTag=0)
BdbStatus commitAndHold (const char *theTag=0)
BdbStatus checkPoint (const char *theTag=0)
BdbStatus checkPoint (BdbCheckPointFunc &theFunction, const char *theTag=0)
BdbMode change (BdbMode theMode, d_Boolean forceCommit=d_False, const char *theTag=0)
BdbStatus closeAllAndReopen (const char *theTag=0)
BdbStatus closeAllAndReopen (BdbNoOpenTransFunc &theFunction, const char *theTag=0)
BdbMode mode () const
const char * modeName () const
const char * modeName (BdbMode mode)
BdbNestingOptToken issueOptToken ()
void releaseOptToken (BdbNestingOptToken optToken=BdbcInValidNestingOptToken)
BdbStatus startNestedRead (BdbNestingOptToken optToken=BdbcInValidNestingOptToken)
BdbStatus startNestedUpdate (BdbNestingOptToken optToken=BdbcInValidNestingOptToken)
BdbStatus commitNested (BdbNestingOptToken optToken=BdbcInValidNestingOptToken)

Static Public Methods

BdbDomainOODB * activeDomainOODB ()
BdbNoOpenTransFuncnoOpNoOpen ()
BdbCheckPointFuncnoOpCheckPoint ()

Protected Methods

 BdbDomainOODB (BdbImplDomainOODB *implementation)
d_Boolean hasInhibitPolicy () const
d_Boolean currentTransIsHeld () const
void setInhibitPolicy (const BdbInhibitPolicy *policy)
void setIndexMode (BdbIndexMode indexMode)
void setMrowMode (BdbMode mrowMode)
void setBootName (const char *bootName)
void setDefaultBootName (const char *bootName)
void holdCurrentTrans ()
void dropCurrentTrans ()
void setCurrentTrans (const BdbTransToken &token)
BdbTransToken newCurrentTrans ()
BdbTransToken newCurrentTrans (const char *newBootName)

Private Methods

 BdbDomainOODB ()
const BdbDomainOODB * matchLabel (const char *label, const BdbDomainOODB *loopStart) const
void addToRing (BdbDomainOODB *predecessor)
void removeFromRing ()

Private Attributes

BdbImplDomainOODB_impl
d_Boolean _isActive
BdbDomainOODB * _next
BdbDomainOODB * _previous

Static Private Attributes

BdbDomainOODB * _ringEntrance
d_ULong _activationCount

Member Enumeration Documentation

enum BdbDomainOODB::TransReuse
 

Enumeration values:
Forbidden 
Optional 
Signaled 
Required 

Definition at line 61 of file BdbDomainOODB.hh.

Referenced by BdbDomain::BdbDomain(), BdbObjyDomain::BdbObjyDomain(), and BdbDomain::createImplDomainOODB().


Constructor & Destructor Documentation

BdbDomainOODB::~BdbDomainOODB   [virtual]
 

Destructor

Definition at line 151 of file BdbDomainOODB.cc.

References _impl, _next, _previous, _ringEntrance, and removeFromRing().

BdbDomainOODB::BdbDomainOODB BdbImplDomainOODB   implementation [protected]
 

Definition at line 120 of file BdbDomainOODB.cc.

References _impl, _ringEntrance, addToRing(), false, matchLabel(), and BdbImplDomainOODB::setClient().

BdbDomainOODB::BdbDomainOODB   [private]
 

stop default


Member Function Documentation

BdbStatus BdbDomainOODB::abort const char *    theTag = 0
 

Abort the curent transaction.

Definition at line 634 of file BdbDomainOODB.cc.

References _impl, BdbImplDomainOODB::abort(), BdbStatus, deactivate(), and result.

Referenced by CdbToolsReadTrans::abort(), BdbCondTransUpdate::abort(), BdbCondTransRead::abort(), BdbAuth::abort(), BdbDbBrowse::browseDomain(), checkpoint(), checkpointAfter(), cmd_transaction(), BdbDistApplicationCmd::command(), BdbDistribution::error(), exitHandler(), fixTreeNode(), importDb(), main(), BdbTransactionMgr::prepare(), registerFullDb(), removeAllCheckpoints(), BdbDistribution::removeDb(), removeOneCheckpoint(), BdbMarkDbsFull::run(), BdbCloseDbs::run(), and BdbDistribution::shadowDb().

BdbStatus BdbDomainOODB::activate  
 

makes this Domain the active Domain, i.e. all future access to Objectivity will be through this Domain

Definition at line 573 of file BdbDomainOODB.cc.

References _activationCount, _impl, BdbImplDomainOODB::activate(), COUT2, and BdbImplDomainOODB::label().

Referenced by BdbCollectionCommand::addHandler(), BdbAttachApplication::BdbAttachApplication(), BdbEventOutput::beginRun(), CdbBdbTransaction::CdbBdbTransaction(), change(), checkPoint(), BdbCollectionCommand::cleanupHandler(), closeAllAndReopen(), CdbBdbTransaction::commitAndHold(), BdbEventStore::configureClustering(), BdbCollectionCommand::contentsHandler(), BdbCollectionCommand::createCollections(), BdbTreeNodeCommand::createHandler(), BdbTreeNodeCommand::deleteHandler(), BdbCollectionCommand::deleteHandler(), BdbEventOutput::doCommit(), BdbEventOutput::doEvent(), BdbEventOutput::endJob(), BdbEventCommit::event(), BdbCollectionCommand::eventsHandler(), BdbTreeNodeCommand::initialize(), BdbCollectionCommand::initialize(), initialize(), BdbEventStore::isAccessAllowed(), BdbEventStore::isAuthorized(), BdbConditions::isAuthorized(), BdbGenericDomain::isAuthorized(), BdbOptNoEventStorage::isSet(), BdbOptBridgeOnly::isSet(), BdbTreeNodeCommand::listHandler(), BdbCollectionCommand::listHandler(), main(), BdbCollectionCommand::mapHandler(), BdbTreeNodeCommand::moveHandler(), BdbCollectionCommand::moveHandler(), BdbOutputStream::placement(), BdbCollectionCommand::precreateCleanupHandler(), BdbEventMerge::prepareCollection(), BdbDistMessage::regMsgHandler(), BdbCollectionCommand::removeHandler(), BdbBrowseFullDbs::run(), BdbOptNoEventStorage::setOption(), BdbOptBridgeOnly::setOption(), startNestedRead(), startNestedUpdate(), startRead(), BdbCondProxyBase::startTransaction(), startUpdate(), testBdbSpClustHint(), testCdbClustHint(), testForceNewDb(), BdbCollPlacementManager::~BdbCollPlacementManager(), BdbEvsPlacementManager::~BdbEvsPlacementManager(), and BdbOutputStream::~BdbOutputStream().

BdbDomainOODB* BdbDomainOODB::activeDomain  
 

Returns:
the currently active domain

BdbDomainOODB * BdbDomainOODB::activeDomainOODB   [static]
 

Definition at line 89 of file BdbDomainOODB.cc.

References _impl, _ringEntrance, and BdbImplDomainOODB::activeClient().

Referenced by BdbDomain::activeInstance(), BdbAbsHandleCacheEntry::BdbAbsHandleCacheEntry(), BdbHandleCacheMgr::getMRUContHandle(), BdbHandleCacheMgr::getMRUDbHandle(), BdbPolicyInhibitMgr::isLocked(), BdbPolicyInhibitMgr::isLocked4Read(), BdbPolicyInhibitMgr::pauseMsg(), BdbContextStack::push(), BdbContextPool::start(), and BdbAbsHandleCacheEntry::transChanged().

void BdbDomainOODB::addToRing BdbDomainOODB *    predecessor [private]
 

Add this instance to the ring which include the predecessor

Definition at line 775 of file BdbDomainOODB.cc.

References _next, and _previous.

Referenced by BdbDomainOODB().

BdbAMSUsage BdbDomainOODB::amsUsage  
 

the AMS usage for the job

Definition at line 214 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::amsUsage().

Referenced by setAMSUsage().

BdbDomainOODB::BdbHandle BdbFDObj    const
 

The federation handle

Referenced by BdbEventStore::createTreeNode(), BdbEventStore::getCollection(), BdbEventStore::getIterator(), BdbEventStore::moveCollection(), BdbDbBrowse::outputDatabase(), BdbDbBrowse::printAllNames(), BdbEventStore::removeCollection(), ClustApplication::runEvsBatchTest(), ClustApplication::runSpTest(), and BdbConditions::subsystemDBexist().

const char * BdbDomainOODB::bootName  
 

The name of the federation boot file

Definition at line 178 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::bootName().

Referenced by BdbBridgeCollectionT< T >::addCollection(), BdbDbAccessMgr::attachDatabase(), BdbAttachUtil::attachDatabase(), BdbDistribution::attachDb(), BdbCondRInfoImpl::BdbCondRInfoImpl(), BdbCondROIDServerImpl::BdbCondROIDServerImpl(), BdbDeleteDb::BdbDeleteDb(), BdbEventStore::changeDefaultFed(), cmd_dump(), BdbBridgeCollectionT< T >::containsCollection(), BdbEventStore::createOutputTrans(), CdbBdbWCdb::defaultDatabase(), CdbBdbSCdb::defaultDatabase(), BdbDbAccessMgr::detachDatabase(), BdbAttachUtil::detachDatabase(), BdbDistribution::detachDb(), BdbSrvUtil::fdName(), BdbAuth::federationInstance(), BdbTreeNodeCache::findEntry(), BdbCondROIDServerImpl::findInterval(), BdbCondROIDServerImpl::findObject(), BdbCondROIDServerImpl::firstInterval(), BdbTreeNodeCache::insertEntry(), BdbCondROIDServerImpl::lastInterval(), main(), BdbCollectionCommand::mapHandler(), BdbBridgeCollTIterator< T >::next(), BdbModulesUtility::parseCollectionSpecifier(), BdbPolicyInhibitMgr::pauseMsg(), BdbAttachUtil::realCopyDatabase(), BdbBridgeCollectionT< T >::removeCollection(), setBootName(), BdbTestDomainOODB::setDefaultBootName(), setDefaultBootName(), BdbBaseCollectionT< T >::setFed(), BdbDistribution::shadowDb(), BdbCondROIDServerImpl::verifyBootFile(), BdbCondRInfoImpl::~BdbCondRInfoImpl(), and BdbCondROIDServerImpl::~BdbCondROIDServerImpl().

d_ULong BdbDomainOODB::cacheInitPages  
 

The initial cache size.

Definition at line 196 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::cacheInitPages().

Referenced by BdbTransactionMgr::prepareObjy().

d_ULong BdbDomainOODB::cacheMaxPages  
 

The maximum cache size.

Definition at line 202 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::cacheMaxPages().

Referenced by BdbTransactionMgr::prepareObjy().

BdbMode BdbDomainOODB::change BdbMode    theMode,
d_Boolean    forceCommit = d_False,
const char *    theTag = 0
 

Change the transaction mode to "theMode" (BdbCRead, BdbcUpdate or BdbcNoOpen), returning the previous mode. This will commit or start transactions as necessary to achieve the desired state. Note that a request to change to BdbcUpdate to BdbcRead will by default _not_ cause a commit and change of state, since BdbcUpdate mode already grants read access. Similarly a null change of state (the new mode is the same as the old mode) will not by default cause any transaction change. However, the "forceCommit" flag can be used to override these defaults if it is set "true". In this case, an existing transaction will always be committed before entering the requested state.

Definition at line 676 of file BdbDomainOODB.cc.

References _impl, activate(), BdbMode, BdbImplDomainOODB::change(), deactivate(), and result.

Referenced by BdbCollectionCommand::addHandler(), BdbOutputStream::attachToMaster(), BdbFetchCollTFactory< T >::attemptRegets(), BdbEventOutput::beginRun(), CdbBdbTransaction::CdbBdbTransaction(), BdbCollectionCommand::cleanupHandler(), BdbEventInput::closeCollection(), BdbDistApplicationCmd::command(), BdbTransactionMgr::conditionalCheckPoint(), BdbTransactionMgr::conditionalStart(), BdbEventOutput::conditionalStart(), BdbCollectionCommand::contentsHandler(), BdbCollectionCommand::createCollections(), BdbTreeNodeCommand::createHandler(), BdbTreeNodeCommand::deleteHandler(), BdbCollectionCommand::deleteHandler(), BdbBridgeCollectionT< T >::destinationCollection(), BdbEventOutput::doCommit(), BdbEventOutput::doEvent(), BdbEventOutput::endJob(), BdbCondProxyBase::endTransaction(), BdbEventCommit::event(), BdbCollectionCommand::eventsHandler(), BdbTreeNodeCommand::initialize(), BdbCollectionCommand::initialize(), initialize(), BdbOptNoEventStorage::isSet(), BdbOptBridgeOnly::isSet(), BdbTreeNodeCommand::listHandler(), BdbCollectionCommand::listHandler(), BdbTreeNodeCommand::listNodeHandler(), BdbCollectionCommand::listNodeHandler(), BdbOutputStream::locateCollection(), main(), BdbCollectionCommand::mapHandler(), BdbTreeNodeCommand::moveHandler(), BdbCollectionCommand::moveHandler(), BdbBridgeCollTIterator< T >::next(), BdbEventInput::openCollection(), BdbOutputStream::placement(), BdbCollectionCommand::removeHandler(), BdbLocateDb::scanVectorCollection(), BdbBridgeCollectionT< T >::setFed(), BdbOptNoEventStorage::setOption(), BdbOptBridgeOnly::setOption(), BdbCondProxyBase::startTransaction(), BdbEventOutput::updateWhenAvailable(), BdbOutputStream::writeToDestination(), BdbBridgeCollectionT< T >::~BdbBridgeCollectionT(), BdbBridgeCollTIterator< T >::~BdbBridgeCollTIterator(), BdbCollPlacementManager::~BdbCollPlacementManager(), BdbEvsPlacementManager::~BdbEvsPlacementManager(), and CdbBdbTransaction::~CdbBdbTransaction().

BdbStatus BdbDomainOODB::checkPoint BdbCheckPointFunc   theFunction,
const char *    theTag = 0
 

Commit the current transaction,, the specified BdbCheckPointFunc object is executed, and then the transaction is restarted. The current locks may or may not be held depending on the circumstances. (If the locks _must_ be held the use 'commitAndHold'.)

Definition at line 665 of file BdbDomainOODB.cc.

References _impl, activate(), BdbStatus, BdbImplDomainOODB::checkPoint(), deactivate(), and result.

BdbStatus BdbDomainOODB::checkPoint const char *    theTag = 0
 

Commit the current transaction and restarts it. The current locks may or may not be held depending on the circumstances. (If the locks _must_ be held the use 'commitAndHold'.)

Definition at line 658 of file BdbDomainOODB.cc.

References noOpCheckPoint().

Referenced by BdbTransactionMgr::conditionalCheckPoint(), and BdbOutputStream::switchToOutputTrans().

BdbStatus BdbDomainOODB::closeAllAndReopen BdbNoOpenTransFunc   theFunction,
const char *    theTag = 0
 

If all open transactions are read transaction, with the exception of transactions in this domain, then all transactions are commited, the specified BdbNoOpenTransFunc object is executed, and then all transactions are restored to their original state.

Only returns if succeeds (Include return for backwards compatibility.)

Returns:
BdbcSuccess

Definition at line 692 of file BdbDomainOODB.cc.

References _impl, activate(), BdbStatus, BdbImplDomainOODB::closeAllAndReopen(), deactivate(), and result.

BdbStatus BdbDomainOODB::closeAllAndReopen const char *    theTag = 0
 

If all open transactions are read transaction, with the exception of transactions in this domain, then all transactions are commited and then restored to their original state.

Only returns if succeeds (Include return for backwards compatibility.)

Returns:
BdbcSuccess

Definition at line 685 of file BdbDomainOODB.cc.

References noOpNoOpen().

BdbStatus BdbDomainOODB::commit const char *    theTag = 0
 

Commit the current transaction.

Definition at line 642 of file BdbDomainOODB.cc.

References _impl, BdbStatus, BdbImplDomainOODB::commit(), deactivate(), and result.

Referenced by BdbSrvUtil::abortTrans(), attachCollection(), BdbDistribution::attachDb(), BdbDbBrowse::browseDomain(), BdbDistribution::catalogOperation(), ClustApplication::changeAuthLevel(), checkpoint(), checkpointAfter(), cmd_revise_top_many(), cmd_transaction(), BdbDistDistributionCmd::command(), BdbDistApplicationCmd::command(), CdbToolsReadTrans::commit(), BdbCondTransUpdate::commit(), BdbCondTransRead::commit(), BdbAuth::commit(), BdbCondROIDServerLoader::commitProtectedTransaction(), BdbCondRInfoLoader::commitProtectedTransaction(), BdbCondRInfoImpl::commitProtectedTransaction(), BdbSrvUtil::commitTrans(), BdbAdminDbgMgr::countDatabases(), BdbSetupDbs::createGlobalDb(), BdbSetupDbs::createLocalDb(), BdbDistribution::detachDb(), BdbAdminDbgMgr::displayAllContsInOneDb(), BdbAdminDbgMgr::displayAllPageCounters(), BdbAdminDbgMgr::displayBdbPCompParamObjects(), BdbAdminDbgMgr::dumpDbs2File(), BdbEventInput::endJob(), execute(), execute_list(), execute_load(), execute_remove(), BdbDistribution::extractDb(), EmcFooClassProxy_002::faultHandler(), BdbAdminDbgMgr::fixBdbPCompParam(), BdbAdminDbgMgr::fixPageCounter(), fixTreeNode(), BdbDistribution::flushFullDbs(), importDb(), BdbHintKernel::initFDID(), BdbTreeNodeCommand::initialize(), BdbCollectionCommand::initialize(), initialize(), BdbSetupDbs::initializeAllocations(), BdbSetupDbs::initializeGlobalDb(), BdbSetupDbs::initializeLocalDb(), BdbAdminDbgMgr::loadDbNames(), main(), BdbTreeNode::makeRoot(), BdbAttachUtil::moveDbFile(), Console::ping(), BdbEventMerge::prepareCollection(), ClustApplication::prestageTest(), printAfterCheckpoint(), printBeforeCheckpoint(), printBetweenCheckpoints(), printCheckpoints(), printFullDbs(), BdbAdminDbgMgr::processOneDb(), registerFullDb(), removeAllCheckpoints(), BdbDistribution::removeDb(), removeOneCheckpoint(), BdbAbsBaseClustH::restartTransaction(), Console::returnContainers(), SetupLocalDb::run(), BdbDbBrowse::run(), BdbAttachApplication::run(), BdbCondConverter< T, P >::run(), BdbMarkDbsFull::run(), BdbCloseDbs::run(), BdbBrowseFullDbs::run(), ClustApplication::runDomainSpecTest_V1(), ClustApplication::runDomainSpecTest_V2(), ClustApplication::runEvsBatchTest(), ClustApplication::runSpTest(), BdbCollectionTInspector::scan(), BdbDistribution::shadowDb(), testBdbSpClustHint(), testCdbClustHint(), testForceNewDb(), and updateAndWait().

BdbStatus BdbDomainOODB::commitAndHold const char *    theTag = 0
 

Commit and hold (restart) the current transaction. This is not a truely atomic operation (which it should be).

Definition at line 650 of file BdbDomainOODB.cc.

References _impl, BdbStatus, BdbImplDomainOODB::commitAndHold(), deactivate(), and result.

Referenced by CdbBdbTransaction::commitAndHold().

BdbStatus BdbDomainOODB::commitNested BdbNestingOptToken    optToken = BdbcInValidNestingOptToken
 

commit currently nested transaction

Definition at line 747 of file BdbDomainOODB.cc.

References _impl, BdbNestingOptToken, BdbStatus, BdbImplDomainOODB::commitNested(), deactivate(), and result.

Referenced by BdbAuthFederation::commitShortTransaction(), BdbParamHandler::compIsRegistered(), BdbAdminDbgMgr::displayRegistryDbsWEP(), BdbParamHandler::doResynch(), BdbAbsRegularClustH::getAllFullDbs(), BdbNestedTransCollTFactory< T >::getCollection(), CdbBdbSUtils::getLocalDbIdRange(), BdbParamHandler::incrPageCounter(), BdbCondDatabaseBase::initializeOriginName(), BdbParamHandler::initPageCounter(), BdbCondDdOprDbIdRange::operation(), BdbTransactionMgr::prepare(), BdbNestedTransCollTFactory< T >::regetCollection(), BdbParamHandler::registerComponent(), BdbDbRegistrator::registerDb(), BdbAbsRegularClustH::registerExtraPages(), BdbDbAccessMgr::releaseExclLock(), BdbAbsRegularClustH::removeFullDbsFromRegistry(), BdbParamHandler::tryFindExtraSpace(), BdbParamHandler::updateForceNewDb(), BdbEventInput::validate(), and CdbBdbSUtils::verifyDbIdRange().

BdbHandleCacheMgr * BdbDomainOODB::currentHandleCache  
 

Get a pointer to the cache of handles associated with current context.

Definition at line 410 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::currentHandleCache().

Referenced by BdbContAccessMgr::createContainer(), BdbDbAccessMgr::createDb(), BdbContAccessMgr::openContainer(), BdbDbAccessMgr::openDb(), and BdbContAccessMgr::openDbAndCont().

d_Boolean BdbDomainOODB::currentTransIsHeld   [protected]
 

Returns:
true is token represents a locked transaction

Reimplemented in BdbTestDomainOODB.

Definition at line 345 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::currentTransIsHeld().

Referenced by BdbTestDomainOODB::currentTransIsHeld(), and BdbEventStore::releaseTrans().

BdbTransToken BdbDomainOODB::currentTransToken  
 

Returns:
the BdbTransToken being used by this instance whenever it is active.

Reimplemented in BdbTestDomainOODB.

Definition at line 339 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::currentTransToken().

Referenced by BdbTreeNodeLocking::correctCtx(), BdbEventStore::currentTrans(), BdbTestDomainOODB::currentTransToken(), BdbEventStore::setCurrentTrans(), and BdbTreeNodeLocking::startRecording().

BdbStatus BdbDomainOODB::deactivate  
 

signale that this Domain is no longer to be treated as the active Domain, i.e. future access to Objectivity will not necessarily be through this Domain

Definition at line 594 of file BdbDomainOODB.cc.

References _activationCount, _impl, COUT2, BdbImplDomainOODB::deactivate(), and BdbImplDomainOODB::label().

Referenced by abort(), BdbCollectionCommand::addHandler(), BdbEventOutput::beginRun(), change(), checkPoint(), BdbCollectionCommand::cleanupHandler(), closeAllAndReopen(), commit(), commitAndHold(), commitNested(), BdbEventStore::configureClustering(), BdbCollectionCommand::contentsHandler(), BdbCollectionCommand::createCollections(), BdbTreeNodeCommand::createHandler(), BdbTreeNodeCommand::deleteHandler(), BdbCollectionCommand::deleteHandler(), BdbEventOutput::doCommit(), BdbEventOutput::doEvent(), BdbEventOutput::endJob(), BdbEventInput::endJob(), BdbCondProxyBase::endTransaction(), BdbEventCommit::event(), BdbCollectionCommand::eventsHandler(), BdbTreeNodeCommand::initialize(), BdbCollectionCommand::initialize(), initialize(), BdbEventStore::isAccessAllowed(), BdbEventStore::isAuthorized(), BdbConditions::isAuthorized(), BdbGenericDomain::isAuthorized(), BdbOptNoEventStorage::isSet(), BdbOptBridgeOnly::isSet(), BdbTreeNodeCommand::listHandler(), BdbCollectionCommand::listHandler(), main(), BdbCollectionCommand::moveHandler(), BdbOutputStream::placement(), BdbCollectionCommand::precreateCleanupHandler(), BdbEventMerge::prepareCollection(), BdbDistMessage::regMsgHandler(), BdbCollectionCommand::removeHandler(), BdbBrowseFullDbs::run(), BdbOptNoEventStorage::setOption(), BdbOptBridgeOnly::setOption(), testBdbSpClustHint(), testCdbClustHint(), testForceNewDb(), BdbCollPlacementManager::~BdbCollPlacementManager(), BdbEvsPlacementManager::~BdbEvsPlacementManager(), BdbOutputStream::~BdbOutputStream(), and CdbBdbTransaction::~CdbBdbTransaction().

const char * BdbDomainOODB::dirName  
 

The base directory of the federation

Definition at line 184 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::dirName().

Referenced by BdbSetupDbs::createGlobalDb(), BdbActiveDbsMgr::createOrOpenDb(), BdbAbsIndexAPI::getDbInfo(), BdbCatalogFSHandler::initialize(), BdbAbsIndexBuilderAPI::initializeClusteringHint(), BdbPersCHSetup::internalRetrieveFSs(), BdbCatalogFSLoader::interpreteData(), main(), BdbDbName::parse(), BdbAttachApplication::run(), and BdbDistribution::shadowDb().

void BdbDomainOODB::dropCurrentTrans   [protected]
 

flags the current Transaction so that it will be deleted.

Reimplemented in BdbTestDomainOODB.

Definition at line 284 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::dropCurrentTrans().

Referenced by BdbTestDomainOODB::dropCurrentTrans(), and BdbEventStore::releaseTrans().

d_ULong BdbDomainOODB::fileDescriptors  
 

The number of file descriptors.

Definition at line 208 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::fileDescriptors().

Referenced by BdbTransactionMgr::prepareObjy().

d_Boolean BdbDomainOODB::hasInhibitPolicy   [protected]
 

Has an inhibit policy been setup?

Definition at line 333 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::hasInhibitPolicy().

Referenced by BdbEventStore::instance(), and BdbConditions::instance().

void BdbDomainOODB::holdCurrentTrans   [protected]
 

flags the current Transaction so that it will not be deleted.

Reimplemented in BdbTestDomainOODB.

Definition at line 278 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::holdCurrentTrans().

Referenced by BdbTestDomainOODB::holdCurrentTrans(), BdbEventStore::releaseTrans(), and BdbEventStore::retainTrans().

const char * BdbDomainOODB::hostName  
 

The host name corresponding to location of the federation catalog

Definition at line 190 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::hostName().

Referenced by BdbDbAccessMgr::attachDatabase(), BdbSetupDbs::createGlobalDb(), BdbActiveDbsMgr::createOrOpenDb(), BdbAbsIndexAPI::getDbInfo(), BdbCatalogFSHandler::initialize(), BdbPersCHSetup::internalRetrieveFSs(), BdbCatalogFSLoader::interpreteData(), main(), BdbDbName::parse(), and BdbDistribution::shadowDb().

void BdbDomainOODB::ignoreErrors  
 

Set error handler to ignore unknown errors

Definition at line 254 of file BdbDomainOODB.cc.

References _impl, d_True, and BdbImplDomainOODB::setIgnoreErrors().

Referenced by BdbCondROIDServerLoader::commitProtectedTransaction(), BdbAbsRegularClustH::initializeDbHint(), main(), BdbBrowseFullDbs::run(), and BdbCondROIDServerLoader::startProtectedTransaction().

BdbIndexMode BdbDomainOODB::indexMode  
 

the index mode used by the transaction

Definition at line 392 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::indexMode().

Referenced by setIndexMode(), and BdbDatabase::verifyIndexMode().

d_Boolean BdbDomainOODB::isActive  
 

returns 'true' if this Domain is currently active

Definition at line 561 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::isActive().

Referenced by BdbEventInput::endJob().

d_Boolean BdbDomainOODB::isStandalone  
 

True if the ojb is running is standalone mode

Definition at line 350 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::isStandalone().

Referenced by BdbDistApplicationCmd::command(), BdbEventOutput::endJob(), BdbSingleBootInhibit::isInhibited(), and BdbTreeHdr::setDeleted().

BdbNestingOptToken BdbDomainOODB::issueOptToken  
 

issue optimization token

Definition at line 721 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::issueOptToken().

Referenced by BdbAbsBaseClustH::BdbAbsBaseClustH(), and BdbEventInput::validate().

d_Boolean BdbDomainOODB::isVTablePointerChecked  
 

Return the current Check VTable Pointer mode.

Definition at line 368 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::checkVTablePointer().

Referenced by BdbTransactionMgr::prepareObjy().

d_Long BdbDomainOODB::lockWait  
 

The current wait mode. This will be the default wait mode unless setLockWait was called within the current transaction.

Definition at line 380 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::lockWait().

Referenced by BdbFetchCollTFactory< T >::attemptGet(), BdbCollectionTFactory< T >::attemptGet(), BdbFetchCollTFactory< T >::attemptRegets(), BdbHandle(), BdbCollectionCommand::contentsCollHandler(), contentsCollHandler(), BdbCollectionCommand::createCollections(), BdbFullDbsMgr::deleteCounter(), BdbHandleCacheMgr::getMRUContHandle(), BdbHandleCacheMgr::getMRUDbHandle(), BdbCollectionCommand::listNodeHandler(), BdbContAccessMgr::openContainer(), BdbDbAccessMgr::openDb(), BdbEventStore::readAttempt(), BdbAbsRegularClustH::registerExtraPages(), updateAndWait(), BdbSrvAbsRegularClustH::updatedHint(), BdbSpClusteringHint::updatedHint(), BdbCustomClustH::updatedHint(), BdbConfigClusteringHint::updatedHint(), and BdbAbsRegularClustH::updatedHint().

const BdbDomainOODB * BdbDomainOODB::matchLabel const char *    label,
const BdbDomainOODB *    loopStart
const [private]
 

Check to see if any other domain in the ring has an implementation which matches the specified label

Returns:
the address of such the first match, 0 otherwsie

Definition at line 759 of file BdbDomainOODB.cc.

References _impl, _next, and BdbImplDomainOODB::label().

Referenced by BdbDomainOODB().

BdbMode BdbDomainOODB::mode  
 

The current transaction mode (BdbcRead, BdbcUpdate or BdbcNoOpen).

Definition at line 703 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::mode().

Referenced by BdbFetchCollTFactory< T >::attemptRegets(), CdbBdbTransaction::CdbBdbTransaction(), BdbDistribution::checkTransaction(), BdbDistApplicationCmd::checkUpdateMode(), BdbEventInput::closeCollection(), BdbDistApplicationCmd::command(), BdbDbAccessMgr::createDb(), BdbCondProxyBase::endTransaction(), exitHandler(), EmcFooClassProxy_002::faultHandler(), BdbDistribution::getTransaction(), BdbDistDistributionCmd::getTransactionMode(), BdbHintKernel::initFDID(), BdbTreeNodeCommand::listNodeHandler(), BdbCollectionCommand::listNodeHandler(), modeName(), BdbBridgeCollTIterator< T >::next(), BdbEventInput::openCollection(), BdbFullDbsRegistryMgr::openRegistry(), Console::ping(), BdbAbsRegularClustH::registerExtraPages(), BdbSrvAbsBaseClustH::resetHint(), BdbCondConverter< T, P >::run(), BdbCollectionTInspector::scan(), BdbBridgeCollectionT< T >::setFed(), BdbCondProxyBase::startTransaction(), and CdbBdbTransaction::~CdbBdbTransaction().

const char * BdbDomainOODB::modeName BdbMode    mode
 

change a BdbMode into a const char*

Definition at line 715 of file BdbDomainOODB.cc.

References _impl, BdbMode, mode(), and BdbImplDomainOODB::modeName().

const char * BdbDomainOODB::modeName  
 

change a BdbMode into a const char*

Definition at line 709 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::modeName().

Referenced by BdbHandleCacheMgr::getMRUContHandle(), BdbHandleCacheMgr::getMRUDbHandle(), BdbContAccessMgr::openContainer(), and BdbDbAccessMgr::openDb().

BdbMode BdbDomainOODB::mrowMode  
 

Returns:
the indexing mode to use are next 'start'

Definition at line 398 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::mrowMode().

Referenced by setMrowMode(), and updateAndWait().

BdbTransToken BdbDomainOODB::newCurrentTrans const char *    newBootName [protected]
 

Definition at line 305 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::newCurrentTrans().

BdbTransToken BdbDomainOODB::newCurrentTrans   [protected]
 

Replaced current trans with a new one, deleting the old if it is not 'held'

Returns:
the token of the old transaction if it is held, otherwise BdbcInValidTranbsToken

Reimplemented in BdbTestDomainOODB.

Definition at line 296 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::newCurrentTrans().

Referenced by BdbEventStore::createOutputTrans(), BdbTestDomainOODB::newCurrentTrans(), and BdbEventStore::newEvsTrans().

BdbCheckPointFunc & BdbDomainOODB::noOpCheckPoint   [static]
 

Definition at line 106 of file BdbDomainOODB.cc.

Referenced by checkPoint().

BdbNoOpenTransFunc & BdbDomainOODB::noOpNoOpen   [static]
 

Definition at line 99 of file BdbDomainOODB.cc.

Referenced by closeAllAndReopen().

void BdbDomainOODB::noticeErrors  
 

Set error handler to process errors as normal

Definition at line 260 of file BdbDomainOODB.cc.

References _impl, d_False, and BdbImplDomainOODB::setIgnoreErrors().

Referenced by BdbCondROIDServerLoader::commitProtectedTransaction(), BdbAbsRegularClustH::initializeDbHint(), main(), BdbBrowseFullDbs::run(), and BdbCondROIDServerLoader::startProtectedTransaction().

d_Boolean BdbDomainOODB::oodbIsInitialized  
 

Inquire whether the OODBMS has been initialized.

Definition at line 172 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::oodbIsInitialized().

Referenced by BdbActiveDbsMgr::initialize(), and BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::releaseOptToken BdbNestingOptToken    optToken = BdbcInValidNestingOptToken
 

issue optimization token

Definition at line 727 of file BdbDomainOODB.cc.

References _impl, BdbNestingOptToken, and BdbImplDomainOODB::releaseOptToken().

void BdbDomainOODB::removeFromRing   [private]
 

Remove this instance from the ring

Definition at line 806 of file BdbDomainOODB.cc.

References _next, and _previous.

Referenced by ~BdbDomainOODB().

d_Long BdbDomainOODB::rpcTimeout  
 

The RPC Timeout interval

Definition at line 356 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::rpcTimeout().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setAMSUsage BdbAMSUsage    amsUsage
 

Set the AMS usage for the job

Definition at line 242 of file BdbDomainOODB.cc.

References _impl, amsUsage(), BdbAMSUsage, and BdbImplDomainOODB::setAMSUsage().

Referenced by main().

void BdbDomainOODB::setBootName const char *    bootName [protected]
 

Set the bootName of the federation this domain should use

Definition at line 266 of file BdbDomainOODB.cc.

References _impl, bootName(), and BdbImplDomainOODB::setBootName().

Referenced by BdbGenericDomain::decideBootName().

void BdbDomainOODB::setCacheInitPages d_ULong    thePages
 

Set the initial cache size to that specified. This has no effect once Objectivity has been initialized.

Definition at line 224 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setCacheInitPages().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setCacheMaxPages d_ULong    thePages
 

Set the maximum cache size to that specified. This has no effect once Objectivity has been initialized.

Definition at line 230 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setCacheMaxPages().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setCheckVTablePointer d_Boolean    isChecked
 

Set the current Check VTable Pointer mode.

Definition at line 374 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setCheckVTablePointer().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setCurrentTrans const BdbTransToken &    token [protected]
 

Sets the current BdbTransToken to be used by this instance whenever it is active.

Reimplemented in BdbEventStore, and BdbTestDomainOODB.

Definition at line 290 of file BdbDomainOODB.cc.

References _impl, BdbTransToken, and BdbImplDomainOODB::setCurrentTrans().

Referenced by BdbTestDomainOODB::setCurrentTrans(), and BdbEventStore::setCurrentTrans().

void BdbDomainOODB::setDefaultBootName const char *    bootName [protected]
 

Set the boot file name to be used as base federation for job.

Reimplemented in BdbTestDomainOODB.

Definition at line 272 of file BdbDomainOODB.cc.

References _impl, bootName(), and BdbImplDomainOODB::setDefaultBootName().

Referenced by BdbEventStore::changeDefaultFed(), and BdbTestDomainOODB::setDefaultBootName().

void BdbDomainOODB::setFileDescriptors d_ULong    theFiles
 

Set the number of file descriptors. This has no effect once Objectivity has been initialized.

Definition at line 236 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setFileDescriptors().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setIndexMode BdbIndexMode    indexMode [protected]
 

Setup the indexing mode to use are next 'start'

Definition at line 315 of file BdbDomainOODB.cc.

References _impl, BdbIndexMode, indexMode(), and BdbImplDomainOODB::setIndexMode().

Referenced by BdbConditions::BdbConditions().

void BdbDomainOODB::setInhibitPolicy const BdbInhibitPolicy   policy [protected]
 

Setup an inhibit policy

Definition at line 327 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setInhibitPolicy().

Referenced by BdbEventStore::instance(), and BdbConditions::instance().

void BdbDomainOODB::setLockWait d_Long    waitMode = BdbcNoWait
 

Set the wait mode for the current transaction. This only has effect on the current transaction and is ignored if no transaction is open.

Definition at line 386 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setLockWait().

Referenced by BdbFetchCollTFactory< T >::attemptGet(), BdbCollectionTFactory< T >::attemptGet(), BdbFetchCollTFactory< T >::attemptRegets(), BdbHandle(), BdbEventOutput::beginRun(), BdbEventInput::beginRun(), BdbDistApplicationCmd::command(), BdbCollectionCommand::contentsCollHandler(), contentsCollHandler(), BdbCollectionCommand::createCollections(), BdbFullDbsMgr::deleteCounter(), BdbHandleCacheMgr::getMRUContHandle(), BdbHandleCacheMgr::getMRUDbHandle(), BdbEventInput::initialize(), BdbCollectionCommand::listNodeHandler(), main(), BdbContAccessMgr::openContainer(), BdbDbAccessMgr::openDb(), BdbEventStore::readAttempt(), BdbAbsRegularClustH::registerExtraPages(), setWaitMode(), updateAndWait(), BdbSrvAbsRegularClustH::updatedHint(), BdbSpClusteringHint::updatedHint(), BdbCustomClustH::updatedHint(), BdbConfigClusteringHint::updatedHint(), and BdbAbsRegularClustH::updatedHint().

void BdbDomainOODB::setMrowMode BdbMode    mrowMode [protected]
 

Sets the MROW mode to use when starting the next transaction

Definition at line 321 of file BdbDomainOODB.cc.

References _impl, BdbMode, mrowMode(), and BdbImplDomainOODB::setMrowMode().

Referenced by updateAndWait().

void BdbDomainOODB::setRpcTimeout d_Long    secs
 

Set the current RPC Timeout interval

Definition at line 362 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setRpcTimeout().

Referenced by BdbTransactionMgr::prepareObjy().

void BdbDomainOODB::setStandalone  
 

Set the flag indicating whether the jobs is standalone

Definition at line 248 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::setStandalone().

Referenced by main().

BdbStatus BdbDomainOODB::startNestedRead BdbNestingOptToken    optToken = BdbcInValidNestingOptToken
 

Start new nested transaction in read mode

Definition at line 733 of file BdbDomainOODB.cc.

References _impl, activate(), BdbNestingOptToken, and BdbImplDomainOODB::startNestedRead().

Referenced by BdbParamHandler::compIsRegistered(), BdbAdminDbgMgr::displayRegistryDbsWEP(), BdbParamHandler::doResynch(), BdbAbsRegularClustH::getAllFullDbs(), CdbBdbSUtils::getLocalDbIdRange(), BdbCondDatabaseBase::initializeOriginName(), BdbCondDdOprDbIdRange::operation(), BdbTransactionMgr::prepare(), BdbAuthFederation::startShortReadTransaction(), BdbEventInput::validate(), and CdbBdbSUtils::verifyDbIdRange().

BdbStatus BdbDomainOODB::startNestedUpdate BdbNestingOptToken    optToken = BdbcInValidNestingOptToken
 

Start new nested transaction in update mode

Definition at line 740 of file BdbDomainOODB.cc.

References _impl, activate(), BdbNestingOptToken, and BdbImplDomainOODB::startNestedUpdate().

Referenced by BdbNestedTransCollTFactory< T >::getCollection(), BdbParamHandler::incrPageCounter(), BdbParamHandler::initPageCounter(), BdbNestedTransCollTFactory< T >::regetCollection(), BdbParamHandler::registerComponent(), BdbDbRegistrator::registerDb(), BdbAbsRegularClustH::registerExtraPages(), BdbAbsRegularClustH::removeFullDbsFromRegistry(), BdbDbAccessMgr::setExclLock(), BdbParamHandler::tryFindExtraSpace(), and BdbParamHandler::updateForceNewDb().

BdbStatus BdbDomainOODB::startRead const char *    theTag = 0
 

Start a new read transaction. The optional "theTag" can be used to identify this transaction (according to the sparse documentation on the d_session class).

Definition at line 627 of file BdbDomainOODB.cc.

References _impl, activate(), and BdbImplDomainOODB::startRead().

Referenced by BdbDistribution::attachDb(), BdbDbBrowse::browseDomain(), BdbDistribution::catalogOperation(), cmd_transaction(), BdbDistApplicationCmd::command(), BdbAdminDbgMgr::countDatabases(), BdbDistribution::detachDb(), BdbAdminDbgMgr::displayAllContsInOneDb(), BdbAdminDbgMgr::displayAllPageCounters(), BdbAdminDbgMgr::displayBdbPCompParamObjects(), BdbAdminDbgMgr::dumpDbs2File(), execute_list(), BdbDistribution::extractDb(), EmcFooClassProxy_002::faultHandler(), BdbDistribution::flushFullDbs(), BdbHintKernel::initFDID(), BdbEventInput::inputEvent(), BdbAdminDbgMgr::loadDbNames(), main(), BdbAttachUtil::moveDbFile(), BdbEventInput::openCollection(), Console::ping(), BdbEventMerge::prepareCollection(), printAfterCheckpoint(), printBeforeCheckpoint(), printBetweenCheckpoints(), printCheckpoints(), printFullDbs(), BdbAdminDbgMgr::processOneDb(), BdbDistribution::removeDb(), Console::returnContainers(), BdbAttachApplication::run(), BdbCondConverter< T, P >::run(), BdbMarkDbsFull::run(), BdbBrowseFullDbs::run(), ClustApplication::runDomainSpecTest_V1(), ClustApplication::runDomainSpecTest_V2(), BdbCollectionTInspector::scan(), BdbDistDistributionCmd::setTransactionMode(), CdbToolsReadTrans::start(), BdbCondTransRead::start(), BdbCondROIDServerLoader::startProtectedTransaction(), BdbCondRInfoLoader::startProtectedTransaction(), BdbCondRInfoImpl::startProtectedTransaction(), BdbDistApplicationCmd::startRead(), BdbAuth::startRead(), and BdbSrvUtil::startTrans().

BdbStatus BdbDomainOODB::startUpdate const char *    theTag = 0
 

Start a new update transaction. The optional "theTag" can be used to identify this transaction (according to the sparse documentation on the d_session class).

Definition at line 620 of file BdbDomainOODB.cc.

References _impl, activate(), and BdbImplDomainOODB::startUpdate().

Referenced by attachCollection(), BdbDistribution::catalogOperation(), ClustApplication::changeAuthLevel(), checkpoint(), checkpointAfter(), cmd_revise_top_many(), cmd_transaction(), BdbDistApplicationCmd::command(), BdbSetupDbs::createGlobalDb(), BdbSetupDbs::createLocalDb(), BdbAdminDbgMgr::displayBdbPCompParamObjects(), execute(), execute_load(), execute_remove(), BdbAdminDbgMgr::fixBdbPCompParam(), BdbAdminDbgMgr::fixPageCounter(), fixTreeNode(), importDb(), BdbSetupDbs::initializeAllocations(), BdbSetupDbs::initializeGlobalDb(), BdbSetupDbs::initializeLocalDb(), main(), BdbTreeNode::makeRoot(), ClustApplication::prestageTest(), registerFullDb(), removeAllCheckpoints(), removeOneCheckpoint(), BdbAbsBaseClustH::restartTransaction(), SetupLocalDb::run(), BdbDbBrowse::run(), BdbMarkDbsFull::run(), BdbCloseDbs::run(), ClustApplication::runEvsBatchTest(), ClustApplication::runSpTest(), BdbDistDistributionCmd::setTransactionMode(), BdbDistribution::shadowDb(), BdbCondTransUpdate::start(), BdbSrvUtil::startTrans(), BdbAuth::startUpdate(), testBdbSpClustHint(), testCdbClustHint(), testForceNewDb(), and updateAndWait().

BdbTransId BdbDomainOODB::transId  
 

Returns:
unique identifier (if transaction is in progress)

Definition at line 404 of file BdbDomainOODB.cc.

References _impl, and BdbImplDomainOODB::transId().

Referenced by BdbAbsHandleCacheEntry::BdbAbsHandleCacheEntry(), BdbSrvAbsBaseClustH::transactionChanged(), BdbAbsBaseClustH::transactionChanged(), and BdbAbsHandleCacheEntry::transChanged().

d_Boolean BdbDomainOODB::transIsOpen  
 

returns 'true' if the transaction for this domain is oepn

Definition at line 567 of file BdbDomainOODB.cc.

References _impl, BdbcNoOpen, and BdbImplDomainOODB::mode().

Referenced by BdbTransactionMgr::conditionalCheckPoint(), BdbTransactionMgr::conditionalStart(), BdbEventOutput::doCommit(), BdbEventInput::endJob(), BdbEventInput::inputEvent(), BdbEventInput::openCollection(), and BdbEventMerge::prepareCollection().

BdbStatus BdbDomainOODB::updateAndWait BdbHandleAny    theHandles[],
int    nrElem,
const char *const    thePrefix,
d_ULong    timeout = 60
 

Attempt to gain update access to a list of objects. An initial attempt is make with no timeout. If that fails, a retry with a timeout of 1 minute is tried. If this fails, a warning message is displayed, and this is repeated every minute up to the timeout limit (in minutes).

Definition at line 469 of file BdbDomainOODB.cc.

References BdbcError, BdbcNoWait, BdbcSuccess, BdbHandleAny, BdbMode, BdbStatus, commit(), COUT1, d_False, d_True, lockWait(), mrowMode(), result, setLockWait(), setMrowMode(), and startUpdate().

BdbStatus BdbDomainOODB::updateAndWait BdbHandleAny &    theObj,
const char *const    thePrefix,
d_ULong    timeout = 60
 

Attempt to gain update access to an object. An initial attempt is made with no timeout. If that fails, a retry with a timeout of 1 minute is tried. If this fails, a warning message is displayed, and this is repeated every minute up to the timeout limit (in minutes).

Definition at line 418 of file BdbDomainOODB.cc.

References BdbcError, BdbcSuccess, BdbHandleAny, BdbMode, BdbStatus, commit(), COUT1, lockWait(), mrowMode(), result, setLockWait(), setMrowMode(), and startUpdate().

Referenced by BdbTreeCollectionT< T >::add(), BdbAbsCollectionT< T >::add(), BdbTreeCollectionT< T >::addCollection(), BdbBridgeCollectionT< T >::addCollection(), BdbAbsCollectionT< T >::clear(), BdbAbsCollectionT< T >::fetchMetaData(), BdbTreeNode::makeRootChild(), BdbEventStore::moveCollection(), BdbAbsCollectionT< T >::remove(), BdbTreeCollectionT< T >::removeCollection(), BdbBridgeCollectionT< T >::removeCollection(), and BdbTreeNode::updateAndWait().


Member Data Documentation

d_ULong BdbDomainOODB::_activationCount [static, private]
 

Referenced by activate(), and deactivate().

BdbImplDomainOODB* BdbDomainOODB::_impl [private]
 

Definition at line 511 of file BdbDomainOODB.hh.

Referenced by abort(), activate(), activeDomainOODB(), amsUsage(), BdbDomainOODB(), bootName(), cacheInitPages(), cacheMaxPages(), change(), checkPoint(), closeAllAndReopen(), commit(), commitAndHold(), commitNested(), currentHandleCache(), currentTransIsHeld(), currentTransToken(), deactivate(), dirName(), dropCurrentTrans(), fileDescriptors(), hasInhibitPolicy(), holdCurrentTrans(), hostName(), ignoreErrors(), indexMode(), isActive(), isStandalone(), issueOptToken(), isVTablePointerChecked(), lockWait(), matchLabel(), mode(), modeName(), mrowMode(), newCurrentTrans(), noticeErrors(), oodbIsInitialized(), releaseOptToken(), rpcTimeout(), setAMSUsage(), setBootName(), setCacheInitPages(), setCacheMaxPages(), setCheckVTablePointer(), setCurrentTrans(), setDefaultBootName(), setFileDescriptors(), setIndexMode(), setInhibitPolicy(), setLockWait(), setMrowMode(), setRpcTimeout(), setStandalone(), startNestedRead(), startNestedUpdate(), startRead(), startUpdate(), transId(), transIsOpen(), and ~BdbDomainOODB().

d_Boolean BdbDomainOODB::_isActive [private]
 

Definition at line 522 of file BdbDomainOODB.hh.

BdbDomainOODB* BdbDomainOODB::_next [private]
 

pointers to implement ring of BdbDomainOODB

Definition at line 525 of file BdbDomainOODB.hh.

Referenced by addToRing(), matchLabel(), removeFromRing(), and ~BdbDomainOODB().

BdbDomainOODB* BdbDomainOODB::_previous [private]
 

Definition at line 526 of file BdbDomainOODB.hh.

Referenced by addToRing(), removeFromRing(), and ~BdbDomainOODB().

BdbDomainOODB * BdbDomainOODB::_ringEntrance [static, private]
 

Referenced by activeDomainOODB(), BdbDomainOODB(), and ~BdbDomainOODB().


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