Description. Queuing of empty epochs is disabled by default. This method can be used to enable such queuing, in which case any new, empty epochs entering the event buffer following the method call are queued.
When queuing of empty epochs is enabled,
nextEvent() associates an
empty epoch to one and only one of the subscriptions (event
operations) connected to the subscribing
object. This means that there can be no more than one empty epoch
per subscription, even though the user may have many subscriptions
associated with the same
void setEventBufferQueueEmptyEpoch ( bool queue_empty_epoch )
This method takes a single input parameter, a boolean. Invoking
the method with
true enables queuing of empty
false to the method disables
Return value. None.
setEventBufferQueueEmptyEpoch() has no
associated getter method. This is intentional, and is due to the
fact this setter applies to queuing new
epochs, whereas the queue itself may still reflect the state of
affairs that existed prior to invoking the setter. Thus, during
a transition period, an empty epoch might be found in the queue
even if queuing is turned off.
setEventBufferQueueEmptyEpoch() was added in
NDB 7.4.11 and NDB 7.5.2.