#include <CdbPartition.hh>
Public Member Functions | |
| const CdbDatabasePtr & | parent () const |
| Return a smart pointer to the parent condition object. | |
| unsigned short | id () const |
| The identifier of the partition. | |
| unsigned short | ownerId () const |
| The identifier of the partition's owner. | |
| std::string | ownerName () const |
| The name of the partition's owner. | |
| std::string | description () const |
| The name of the partition's owner. | |
| BdbTime | created () const |
| The creation time of the partition. | |
| BdbTime | beginValidity () const |
| The begin time in the "validity" dimension. | |
| BdbTime | endValidity () const |
| The end time in the "validity" dimension. | |
| BdbTime | beginInsertion () const |
| The begin time in the "insertion" dimension. | |
| virtual BdbTime | endInsertion () const=0 |
| The begin time in the "insertion" dimension. | |
| virtual BdbTime | modified () const=0 |
| The recent modification time of the partition. | |
| virtual bool | isClosed () const=0 |
| The status of the partition. | |
| virtual bool | isInstantiated () const=0 |
| The status of the partition. | |
Protected Member Functions | |
| CdbPartition (const CdbDatabasePtr &theDatabasePtr, unsigned short theId, unsigned short theOwnerId, const char *theOwnerName, const char *theDescription, const BdbTime &theCreationTime, const BdbTime &theBeginValidity, const BdbTime &theEndValidity, const BdbTime &theBeginInsertion) | |
| The normal constructor. | |
| virtual | ~CdbPartition () |
| The destructor. | |
Friends | |
| class | CdbCPtrBase< CdbPartition > |
More details to come...
Definition at line 19 of file CdbPartition.hh.
|
||||||||||||||||||||||||||||||||||||||||
|
The normal constructor. Initialize context with specified "stable" parameters (those ones that could not be changed during the life time of the partition.). The "dynamic" parameters of the partition are available through the virtual methods.
Definition at line 16 of file CdbPartition.cc. |
|
|
The destructor. More details... Definition at line 36 of file CdbPartition.cc. |
|
|
The begin time in the "insertion" dimension.
Definition at line 89 of file CdbPartition.cc. |
|
|
The begin time in the "validity" dimension.
Definition at line 77 of file CdbPartition.cc. |
|
|
The creation time of the partition.
Definition at line 71 of file CdbPartition.cc. |
|
|
The name of the partition's owner.
Definition at line 64 of file CdbPartition.cc. |
|
|
The begin time in the "insertion" dimension.
|
|
|
The end time in the "validity" dimension.
Definition at line 83 of file CdbPartition.cc. |
|
|
The identifier of the partition.
Definition at line 46 of file CdbPartition.cc. |
|
|
The status of the partition. The partiton is "closed" if it's not allowed for writing into it even by its owner origin. Normally a partition gets into this state when a new one is created above it in the "insertion" time dimension. Eeffectively a "closed" partition becomes the read-only one. |
|
|
The status of the partition. The partiton can only be "instantiated" by its owner origin to allow writing into or reading from it. Non-ownes of a partition are not allowed to read from a partition untill it gets "instantiated" by the owner and shipped to a local origin (database). |
|
|
The recent modification time of the partition. This time is increased when any of partitionable conditions are updated (new objects are written, new revisions get created) within the validity/insertion time limits of the partition. Only "open" partitions can be updated. |
|
|
The identifier of the partition's owner.
Definition at line 52 of file CdbPartition.cc. |
|
|
The name of the partition's owner.
Definition at line 58 of file CdbPartition.cc. |
|
|
Return a smart pointer to the parent condition object.
Definition at line 40 of file CdbPartition.cc. |
|
|
Definition at line 21 of file CdbPartition.hh. |
1.3-rc3