GlobalObjects
|
Monitoring or notification mode for read index, write index and reindex actions of the database More...
Public Member Functions | |
CommunicatorIndexReadWriteNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex) | |
virtual | ~CommunicatorIndexReadWriteNotifyModes () |
virtual bool | hasWatches () const |
void | setWatch (TdWatchNotifyMode tdWatchNotifyMode) |
int | unsetWatch (TdWatchNotifyMode tdWatchNotifyMode, bool bSimulate=false) |
Public Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes | |
CommunicatorNotifyModes (const CommunicatorCallBackIndex &rCommunicatorCallBackIndex) | |
virtual | ~CommunicatorNotifyModes () |
NUM_PTR | getCallBackIndex () |
Communicator * | getCommunicator () |
WatchNotifyManager::CommunicatorCallBackIndex & | getCommunicatorCallBackIndex () |
Protected Member Functions | |
CommunicatorIndexReadWriteNotifyModes () | |
Protected Member Functions inherited from glo::WatchNotifyManager::CommunicatorNotifyModes | |
CommunicatorNotifyModes () | |
Private Attributes | |
int | m_iWNM_INDEX_READ |
int | m_iWNM_INDEX_REINDEX |
int | m_iWNM_INDEX_WRITE |
Monitoring or notification mode for read index, write index and reindex actions of the database
|
protected |
The standard constructor is not available.
glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::CommunicatorIndexReadWriteNotifyModes | ( | const CommunicatorCallBackIndex & | rCommunicatorCallBackIndex | ) |
Constructor with parameter passing.
[in] | rCommunicatorCallBackIndex | The client communicator CallBackIndex. |
|
virtual |
Destructor.
|
virtual |
Checks whether monitoring is set.
Implements glo::WatchNotifyManager::CommunicatorNotifyModes.
void glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::setWatch | ( | TdWatchNotifyMode | tdWatchNotifyMode | ) |
Registers a monitoring for a read index or write index or reindex action.
[in] | tdWatchNotifyMode | The monitoring mode to be registered. |
int glo::WatchNotifyManager::CommunicatorIndexReadWriteNotifyModes::unsetWatch | ( | TdWatchNotifyMode | tdWatchNotifyMode, |
bool | bSimulate = false ) |
Deregisters a monitoring for a read index or write index or reindex action.
[in] | tdWatchNotifyMode | The monitoring mode to be unregistered. |
[in] | bSimulate | If true, only simulation is performed, no value is set, but a result or error is returned. |
|
private |
Monitoring counter for "read index".
|
private |
Monitoring counter for "reindex".
|
private |
Monitoring counter for "write index".