#include <NdbEventOperation.hpp>
Brief description on how to work with events:
For more info see: ndbapi_event.cpp
Known limitations:
Known issues:
Test status:
Useful API programs:
|
State of the NdbEventOperation object |
|
Activates the NdbEventOperation to start receiving events. The changed attribute values may be retrieved after next() has returned a value greater than zero. The getValue() methods must be called prior to execute().
|
|
Query for occured event type.
|
|
Retrieve the GCI of the latest retrieved event
|
|
Retrieve the complete GCI in the cluster (not necessarily associated with an event)
|
|
Get the latest error
|
|
See getValue(). |
|
Retrieve current state of the NdbEventOperation object |
|
Defines a retrieval operation of an attribute value. The NDB API allocate memory for the NdbRecAttr object that will hold the returned attribute value.
|
|
In the current implementation a nodefailiure may cause loss of events, in which case isConsistent() will return false |
|
Retrieves event resultset if available, inserted into the NdbRecAttrs specified in getValue() and getPreValue(). To avoid polling for a resultset, one can use Ndb::pollEvents() which will wait on a mutex until an event occurs or the specified timeout occurs.
|