Class PendingReadOp

java.lang.Object
org.apache.bookkeeper.client.ReadOpBase
org.apache.bookkeeper.client.PendingReadOp
All Implemented Interfaces:
Runnable, BookkeeperInternalCallbacks.ReadEntryCallback
Direct Known Subclasses:
ListenerBasedPendingReadOp

class PendingReadOp extends ReadOpBase implements BookkeeperInternalCallbacks.ReadEntryCallback
Sequence of entries of a ledger that represents a pending read operation. When all the data read has come back, the application callback is called. This class could be improved because we could start pushing data to the application as soon as it arrives rather than waiting for the whole thing.