#include <CdbRevisionPolicy.hh>
Public Member Functions | |
| CdbRevisionPolicy () | |
| The default constructor. | |
| CdbRevisionPolicy (const BdbTime &theRevisionId, unsigned short thePartitionId=0) | |
| The normal constructor. | |
| virtual | ~CdbRevisionPolicy () |
| The destructor. | |
| bool | useRevision () const |
| Accessors. | |
| BdbTime | revisionId () const |
| unsigned short | partitionId () const |
The revision policy is used to specify a revision when finding or browsing condition objects in the database. A reason why the policy is used rather than an exact revision is that this approach provides more flexible parametrization of the clients' code without a need to modify this code.
NOTE: This class is restricted to deal with the revision identifiers only, but not their name.
Definition at line 21 of file CdbRevisionPolicy.hh.
|
|
The default constructor. Is used to indicate that any revision policy is not used at all. Then the corresponding condition objects are located using both VALIDITY and INSERTION time values passed to the object locator.
Definition at line 13 of file CdbRevisionPolicy.cc. |
|
||||||||||||
|
The normal constructor. Use specified revision (could also be the TOPMOST one). An optional value of the partition identifier can be specified for the "partitionable" conditions. Definition at line 17 of file CdbRevisionPolicy.cc. |
|
|
The destructor. More details... Definition at line 24 of file CdbRevisionPolicy.cc. |
|
|
Definition at line 40 of file CdbRevisionPolicy.cc. Referenced by CdbSQLApiCondition::modified(), CdbBdbSCondition::objectIterator(), and CdbMySQLConditionAtFolder::set_config(). |
|
|
Definition at line 34 of file CdbRevisionPolicy.cc. Referenced by CdbSQLApiCondition::modified(), CdbBdbSCondition::objectIterator(), and CdbMySQLConditionAtFolder::set_config(). |
|
|
Accessors.
Definition at line 28 of file CdbRevisionPolicy.cc. Referenced by CdbSQLApiCondition::modified(), CdbBdbSCondition::objectIterator(), and CdbMySQLConditionAtFolder::set_config(). |
1.3-rc3