Package org.apache.bookkeeper.client
Class ReadOpBase.ReadContext
java.lang.Object
org.apache.bookkeeper.client.ReadOpBase.ReadContext
- All Implemented Interfaces:
BookkeeperInternalCallbacks.ReadEntryCallbackCtx
- Enclosing class:
- ReadOpBase
protected static class ReadOpBase.ReadContext
extends Object
implements BookkeeperInternalCallbacks.ReadEntryCallbackCtx
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final ReadOpBase.LedgerEntryRequest(package private) long(package private) final BookieId -
Constructor Summary
ConstructorsConstructorDescriptionReadContext(int bookieIndex, BookieId to, ReadOpBase.LedgerEntryRequest entry) -
Method Summary
-
Field Details
-
bookieIndex
final int bookieIndex -
to
-
entry
-
lac
long lac
-
-
Constructor Details
-
ReadContext
ReadContext(int bookieIndex, BookieId to, ReadOpBase.LedgerEntryRequest entry)
-
-
Method Details
-
setLastAddConfirmed
public void setLastAddConfirmed(long lac) - Specified by:
setLastAddConfirmedin interfaceBookkeeperInternalCallbacks.ReadEntryCallbackCtx
-
getLastAddConfirmed
public long getLastAddConfirmed()- Specified by:
getLastAddConfirmedin interfaceBookkeeperInternalCallbacks.ReadEntryCallbackCtx
-