Inheritance diagram for CdbBdbSSlaveRegistryP:

Public Member Functions | |
| CdbBdbSSlaveRegistryP (d_UShort theOriginId, const char *theDescription, const BdbTime &theCreationTime, const BdbTime &theId) | |
| Normal constructor. | |
| virtual | ~CdbBdbSSlaveRegistryP () |
| Destructor. | |
| virtual bool | isMaster () const |
| Check if it's the master. | |
| virtual | BdbRef (CdbBdbSOriginCollectionP) originCollection() const |
| virtual | BdbRef (CdbBdbSRallocatorP< d_UShort >) originRallocator() const |
| virtual | BdbRef (CdbBdbSRallocatorP< d_UShort >) partitionRallocator() const |
| virtual | BdbRef (CdbBdbSClusterCollectionP) pClusterCollection() const |
| virtual | BdbRef (CdbBdbSRallocatorP< d_UShort >) pClusterRallocator() const |
| virtual | BdbRef (CdbBdbSPartitionsLayoutP) partitionsLayout() const |
Static Public Member Functions | |
| CdbStatus | create (BdbHandle(CdbBdbSRegistryP)&theRegistryH) |
| Factory method for objects of this class. | |
See details below.
Definition at line 19 of file CdbBdbSSlaveRegistryP.ddl.
|
||||||||||||||||||||
|
Normal constructor. NOTES:
ATTENTION: Use the above defined static factory method to create persistent objects of this class.
Definition at line 167 of file CdbBdbSSlaveRegistryP.cc. References CdbBdbSRegistryP::defaultDbIdRange(), and CdbBdbSUtils::getLocalDbIdRange(). Referenced by create(). |
|
|
Destructor.
Definition at line 210 of file CdbBdbSSlaveRegistryP.cc. |
|
|
Implements CdbBdbSRegistryP. |
|
|
Implements CdbBdbSRegistryP. |
|
|
Implements CdbBdbSRegistryP. |
|
|
Implements CdbBdbSRegistryP. |
|
|
Implements CdbBdbSRegistryP. |
|
|
Implements CdbBdbSRegistryP. Referenced by create(). |
|
|
Factory method for objects of this class. IMPORTANT: This operation can only be run against a federation, which already loaded with CDB infrastructure for the corresponding MASTER database. The parameters of the registry will be inquired from the collection of origins by identifying one of the SLAVE kinds of them (origins) having the same DBID range as the local one. It means that the origin should already be known to the MASTER.
Definition at line 25 of file CdbBdbSSlaveRegistryP.cc. References BdbRef(), CdbBdbSSlaveRegistryP(), CdbBdbSRegistryP::defaultDbIdRange(), CdbStatus::Error, CdbBdbSRegistryP::findLocal(), CdbBdbSRegistryP::findMaster(), CdbBdbSUtils::getLocalDbIdRange(), CdbBdbSCollectionP::IteratorOfIdentifiers, BdbTime::now(), CdbBdbSRegistryP::ooString(), CdbBdbSRegistryP::originId(), CdbBdbSOriginP::SLAVE, and CdbStatus::Success. |
|
|
Check if it's the master.
Implements CdbBdbSRegistryP. Definition at line 219 of file CdbBdbSSlaveRegistryP.cc. |
1.3-rc3