| Package | Description |
|---|---|
| org.apache.bookkeeper.mledger |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.bookkeeper.mledger.impl |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| Modifier and Type | Method and Description |
|---|---|
Entry |
ManagedCursor.getNthEntry(int n,
ManagedCursor.IndividualDeletedEntries deletedEntries)
Get 'N'th entry from the mark delete position in the cursor without updating any cursor positions.
|
| Modifier and Type | Method and Description |
|---|---|
List<Entry> |
ManagedCursor.readEntries(int numberOfEntriesToRead)
Read entries from the ManagedLedger, up to the specified number.
|
List<Entry> |
ReadOnlyCursor.readEntries(int numberOfEntriesToRead)
Read entries from the ManagedLedger, up to the specified number.
|
List<Entry> |
ManagedCursor.readEntriesOrWait(int numberOfEntriesToRead)
Read entries from the ManagedLedger, up to the specified number.
|
List<Entry> |
ManagedCursor.readEntriesOrWait(int maxEntries,
long maxSizeBytes)
Read entries from the ManagedLedger, up to the specified number and size.
|
List<Entry> |
ManagedCursor.replayEntries(Set<? extends Position> positions)
Read the specified set of positions from ManagedLedger.
|
| Modifier and Type | Method and Description |
|---|---|
LedgerOffloader.OffloadHandle.OfferEntryResult |
LedgerOffloader.OffloadHandle.offerEntry(Entry entry)
The caller should manually release entry no matter what the offer result is.
|
CompletableFuture<LedgerOffloader.OffloadHandle.OfferEntryResult> |
LedgerOffloader.OffloadHandle.offerEntryAsync(Entry entry) |
void |
AsyncCallbacks.ReadEntryCallback.readEntryComplete(Entry entry,
Object ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedCursor.asyncFindNewestMatching(ManagedCursor.FindPositionConstraint constraint,
com.google.common.base.Predicate<Entry> condition,
AsyncCallbacks.FindEntryCallback callback,
Object ctx)
Find the newest entry that matches the given predicate.
|
CompletableFuture<Position> |
ManagedLedger.asyncFindPosition(com.google.common.base.Predicate<Entry> predicate)
Find position by sequenceId.
|
Position |
ManagedCursor.findNewestMatching(ManagedCursor.FindPositionConstraint constraint,
com.google.common.base.Predicate<Entry> condition)
Find the newest entry that matches the given predicate.
|
Position |
ReadOnlyCursor.findNewestMatching(ManagedCursor.FindPositionConstraint constraint,
com.google.common.base.Predicate<Entry> condition)
Find the newest entry that matches the given predicate.
|
Position |
ManagedCursor.findNewestMatching(com.google.common.base.Predicate<Entry> condition)
Find the newest entry that matches the given predicate.
|
void |
AsyncCallbacks.ReadEntriesCallback.readEntriesComplete(List<Entry> entries,
Object ctx) |
void |
ManagedCursor.trimDeletedEntries(List<Entry> entries)
Trim delete entries for the given entries
|
| Modifier and Type | Class and Description |
|---|---|
class |
EntryImpl |
| Modifier and Type | Method and Description |
|---|---|
static Entry |
EntryCacheManager.create(long ledgerId,
long entryId,
io.netty.buffer.ByteBuf data) |
Entry |
ManagedCursorImpl.getNthEntry(int n,
ManagedCursor.IndividualDeletedEntries deletedEntries) |
| Modifier and Type | Method and Description |
|---|---|
List<Entry> |
ManagedCursorImpl.readEntries(int numberOfEntriesToRead) |
List<Entry> |
ManagedCursorImpl.readEntriesOrWait(int numberOfEntriesToRead) |
List<Entry> |
ManagedCursorImpl.readEntriesOrWait(int numberOfEntriesToRead,
long maxSizeBytes) |
List<Entry> |
ManagedCursorImpl.replayEntries(Set<? extends Position> positions) |
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedCursorImpl.asyncFindNewestMatching(ManagedCursor.FindPositionConstraint constraint,
com.google.common.base.Predicate<Entry> condition,
AsyncCallbacks.FindEntryCallback callback,
Object ctx) |
CompletableFuture<Position> |
ManagedLedgerImpl.asyncFindPosition(com.google.common.base.Predicate<Entry> predicate) |
Position |
ManagedCursorImpl.findNewestMatching(ManagedCursor.FindPositionConstraint constraint,
com.google.common.base.Predicate<Entry> condition) |
Position |
ManagedCursorImpl.findNewestMatching(com.google.common.base.Predicate<Entry> condition) |
void |
ManagedCursorImpl.trimDeletedEntries(List<Entry> entries) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.