1) In chronicle queue v4 most test patterns show some form of DocumentContext.isPresent()
busy state checking, when ExcerptTailer
is positioned at the end of the queue and code is waiting for new entries to arrive from ExcerptAppender
.
2) Is there a built-in chronicle queue mechanism for asynchronous appender -> tailer
notifications, such that upon receipt of a notification event, given tailer
is guaranteed to have at least one entry posted by appender
, ready for read?
3) If not, what is recommended pattern to implement such event listener
? Please share a working example?