Inheritance diagram for CdbBdbSPartitionListenerP:

Public Member Functions | |
| virtual | ~CdbBdbSPartitionListenerP () |
| Destructor. | |
| virtual CdbStatus | close (d_UShort theId)=0 |
| Close a partition. | |
This is an abstract persistent class providing the listening methods to be called when the state of a partition changes.
Definition at line 16 of file CdbBdbSPartitionListenerP.ddl.
|
|
Destructor.
Definition at line 13 of file CdbBdbSPartitionListenerP.cc. |
|
|
Close a partition. The partition closure time will be taken from a persistent partition object corresponding to the specified (the partition) identifier. The idea behind this is that the partition closing operation is made of two steps done sequentially:
This actually highlights one important idea that the only reliable source of a partition's "openness" is the persistent partition object itself. The method will return CdbStatus::NotFound if the partition was not found in the layout. Other possible completion statuses are as usual. This pure virtual method is supposed to be implemented by a subclass.
Implemented in CdbBdbSPartitionsLayoutP. |
1.3-rc3