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 java.lang.Object implements BookkeeperInternalCallbacks.ReadEntryCallbackCtx
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
bookieIndex
(package private) ReadOpBase.LedgerEntryRequest
entry
(package private) long
lac
(package private) BookieId
to
-
Constructor Summary
Constructors Constructor Description ReadContext(int bookieIndex, BookieId to, ReadOpBase.LedgerEntryRequest entry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLastAddConfirmed()
void
setLastAddConfirmed(long lac)
-
-
-
Field Detail
-
bookieIndex
final int bookieIndex
-
to
final BookieId to
-
entry
final ReadOpBase.LedgerEntryRequest entry
-
lac
long lac
-
-
Constructor Detail
-
ReadContext
ReadContext(int bookieIndex, BookieId to, ReadOpBase.LedgerEntryRequest entry)
-
-
Method Detail
-
setLastAddConfirmed
public void setLastAddConfirmed(long lac)
- Specified by:
setLastAddConfirmed
in interfaceBookkeeperInternalCallbacks.ReadEntryCallbackCtx
-
getLastAddConfirmed
public long getLastAddConfirmed()
- Specified by:
getLastAddConfirmed
in interfaceBookkeeperInternalCallbacks.ReadEntryCallbackCtx
-
-