Uses of Class
org.apache.bookkeeper.client.LedgerEntry
-
Packages that use LedgerEntry Package Description org.apache.bookkeeper.client BookKeeper Client.org.apache.bookkeeper.client.impl BookKeeper Client implementation package.org.apache.bookkeeper.proto Classes related to the Bookkeeper protocol.org.apache.bookkeeper.streaming A java io stream wrapper over bookkeeper ledgers. -
-
Uses of LedgerEntry in org.apache.bookkeeper.client
Fields in org.apache.bookkeeper.client declared as LedgerEntry Modifier and Type Field Description (package private) LedgerEntry
BookKeeperAdmin.LedgerEntriesIterator. currentEntry
Fields in org.apache.bookkeeper.client with type parameters of type LedgerEntry Modifier and Type Field Description (package private) java.util.Enumeration<LedgerEntry>
SyncCounter. seq
Methods in org.apache.bookkeeper.client that return LedgerEntry Modifier and Type Method Description LedgerEntry
BookKeeperAdmin.LedgerEntriesIterator. next()
LedgerEntry
LedgerHandle. readLastEntry()
Methods in org.apache.bookkeeper.client that return types with arguments of type LedgerEntry Modifier and Type Method Description java.util.Enumeration<LedgerEntry>
LedgerHandle. batchReadEntries(long startEntry, int maxCount, long maxSize)
Read a sequence of entries synchronously.java.util.Enumeration<LedgerEntry>
LedgerHandle. batchReadUnconfirmedEntries(long firstEntry, int maxCount, long maxSize)
Read a sequence of entries synchronously, allowing to read after the LastAddConfirmed range.
This is the same ofLedgerHandle.asyncBatchReadUnconfirmedEntries(long, int, long, ReadCallback, Object)
(package private) java.util.Enumeration<LedgerEntry>
SyncCounter. getSequence()
java.util.Iterator<LedgerEntry>
BookKeeperAdmin.LedgerEntriesIterable. iterator()
java.lang.Iterable<LedgerEntry>
BookKeeperAdmin. readEntries(long ledgerId, long firstEntry, long lastEntry)
Read entries from a ledger synchronously.java.util.Enumeration<LedgerEntry>
LedgerHandle. readEntries(long firstEntry, long lastEntry)
Read a sequence of entries synchronously.java.util.Enumeration<LedgerEntry>
LedgerHandle. readUnconfirmedEntries(long firstEntry, long lastEntry)
Read a sequence of entries synchronously, allowing to read after the LastAddConfirmed range.
This is the same ofLedgerHandle.asyncReadUnconfirmedEntries(long, long, ReadCallback, Object)
Methods in org.apache.bookkeeper.client with parameters of type LedgerEntry Modifier and Type Method Description void
LedgerRecoveryOp. onEntryComplete(int rc, LedgerHandle lh, LedgerEntry entry, java.lang.Object ctx)
void
AsyncCallback.ReadLastConfirmedAndEntryCallback. readLastConfirmedAndEntryComplete(int rc, long lastConfirmed, LedgerEntry entry, java.lang.Object ctx)
Callback definition for bookie operation that allows reading the last add confirmed along with an entry within the last add confirmed range.void
ReadLastConfirmedAndEntryOp.LastConfirmedAndEntryCallback. readLastConfirmedAndEntryComplete(int rc, long lastAddConfirmed, LedgerEntry entry)
void
SyncCallbackUtils.FutureReadLastConfirmedAndEntry. readLastConfirmedAndEntryComplete(int rc, long lastConfirmed, LedgerEntry entry, java.lang.Object ctx)
Method parameters in org.apache.bookkeeper.client with type arguments of type LedgerEntry Modifier and Type Method Description void
AsyncCallback.ReadCallback. readComplete(int rc, LedgerHandle lh, java.util.Enumeration<LedgerEntry> seq, java.lang.Object ctx)
Callback declaration.void
SyncCallbackUtils.SyncReadCallback. readComplete(int rc, LedgerHandle lh, java.util.Enumeration<LedgerEntry> seq, java.lang.Object ctx)
Implementation of callback interface for synchronous read method.(package private) void
SyncCounter. setSequence(java.util.Enumeration<LedgerEntry> seq)
Constructor parameters in org.apache.bookkeeper.client with type arguments of type LedgerEntry Constructor Description SyncReadCallback(java.util.concurrent.CompletableFuture<java.util.Enumeration<LedgerEntry>> future)
-
Uses of LedgerEntry in org.apache.bookkeeper.client.impl
Methods in org.apache.bookkeeper.client.impl with parameters of type LedgerEntry Modifier and Type Method Description static LastConfirmedAndEntryImpl
LastConfirmedAndEntryImpl. create(long lac, LedgerEntry entry)
-
Uses of LedgerEntry in org.apache.bookkeeper.proto
Methods in org.apache.bookkeeper.proto with parameters of type LedgerEntry Modifier and Type Method Description void
BookkeeperInternalCallbacks.ReadEntryListener. onEntryComplete(int rc, LedgerHandle lh, LedgerEntry entry, java.lang.Object ctx)
On given entry completed. -
Uses of LedgerEntry in org.apache.bookkeeper.streaming
Fields in org.apache.bookkeeper.streaming with type parameters of type LedgerEntry Modifier and Type Field Description (package private) java.util.Enumeration<LedgerEntry>
LedgerInputStream. ledgerSeq
-