Documentation Home
MySQL NDB Cluster API Developer Guide
Download this Manual Ndb::nextEvent()

Description.  Returns the next event operation having data from a subscription queue.

This method is deprecated in NDB 7.4.3, and is subject to removal in a future release. In NDB 7.4.3 and later, you should use nextEvent2() instead.


NdbEventOperation* nextEvent

Parameters.  None.

Return value.  This method returns an NdbEventOperation object representing the next event in a subscription queue, if there is such an event. If there is no event in the queue, it returns NULL instead.

Beginning with NDB 7.2.17 and NDB 7.3.6, this method clears inconsistent data events from the event queue when processing them. In order to able to clear all such events in these and later versions, applications must call this method even in cases when pollEvents() has already returned 0. (Bug #18716991)

User Comments
User comments in this section are, as the name implies, provided by MySQL users. The MySQL documentation team is not responsible for, nor do they endorse, any of the information provided here.
Sign Up Login You must be logged in to post a comment.