| Package | Description |
|---|---|
| org.apache.bookkeeper.client |
BookKeeper Client.
|
| org.apache.bookkeeper.client.impl |
BookKeeper Client implementation package.
|
| Modifier and Type | Field and Description |
|---|---|
(package private) LedgerEntry |
BookKeeperAdmin.LedgerEntriesIterator.currentEntry |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Enumeration<LedgerEntry> |
SyncCounter.seq |
| Modifier and Type | Method and Description |
|---|---|
LedgerEntry |
BookKeeperAdmin.LedgerEntriesIterator.next() |
LedgerEntry |
LedgerHandle.readLastEntry() |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.util.Enumeration<LedgerEntry> |
SyncCounter.getSequence() |
java.util.Iterator<LedgerEntry> |
BookKeeperAdmin.LedgerEntriesIterable.iterator() |
java.util.Enumeration<LedgerEntry> |
LedgerHandle.readEntries(long firstEntry,
long lastEntry)
Read a sequence of entries synchronously.
|
java.lang.Iterable<LedgerEntry> |
BookKeeperAdmin.readEntries(long ledgerId,
long firstEntry,
long lastEntry)
Read entries from a ledger 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 of #asyncReadUnconfirmedEntries(long, long, ReadCallback, Object) |
| Modifier and Type | Method and Description |
|---|---|
void |
LedgerRecoveryOp.onEntryComplete(int rc,
LedgerHandle lh,
LedgerEntry entry,
java.lang.Object ctx) |
void |
ReadLastConfirmedAndEntryOp.LastConfirmedAndEntryCallback.readLastConfirmedAndEntryComplete(int rc,
long lastAddConfirmed,
LedgerEntry entry) |
void |
SyncCallbackUtils.FutureReadLastConfirmedAndEntry.readLastConfirmedAndEntryComplete(int rc,
long lastConfirmed,
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
AsyncCallback.ReadCallback.readComplete(int rc,
LedgerHandle lh,
java.util.Enumeration<LedgerEntry> seq,
java.lang.Object ctx)
Callback declaration.
|
(package private) void |
SyncCounter.setSequence(java.util.Enumeration<LedgerEntry> seq) |
| Constructor and Description |
|---|
SyncReadCallback(java.util.concurrent.CompletableFuture<java.util.Enumeration<LedgerEntry>> future) |
| Modifier and Type | Method and Description |
|---|---|
static LastConfirmedAndEntryImpl |
LastConfirmedAndEntryImpl.create(long lac,
LedgerEntry entry) |
Copyright © 2011–2024 The Apache Software Foundation. All rights reserved.