MySQL NDB Cluster API Developer Guide Ndb::pollEvents2()

Description.  Waits for an event to occur. Returns as soon as any event data is available. This method also moves an epoch's complete event data to the event queue.

Added in NDB 7.4.3, this method supersedes pollEvents(), which is now deprecated and subject to removal in a future NDB Cluster release.


int pollEvents2
      int aMillisecondNumber,
      Uint64* highestQueuedEpoch = 0

Parameters.  This method takes the two parameters listed here:

Return value.  pollEvents2() returns an integer whose value can be interpreted as follows: