| 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 |
|---|---|
void |
ReadOnlyCursor.asyncReadEntries(int numberOfEntriesToRead,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger.
|
void |
ManagedCursor.asyncReadEntries(int numberOfEntriesToRead,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger.
|
void |
ReadOnlyCursor.asyncReadEntries(int numberOfEntriesToRead,
long maxSizeBytes,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger.
|
void |
ManagedCursor.asyncReadEntries(int numberOfEntriesToRead,
long maxSizeBytes,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger.
|
void |
ManagedCursor.asyncReadEntriesOrWait(int numberOfEntriesToRead,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger.
|
void |
ManagedCursor.asyncReadEntriesOrWait(int maxEntries,
long maxSizeBytes,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition)
Asynchronously read entries from the ManagedLedger, up to the specified number and size.
|
Set<? extends Position> |
ManagedCursor.asyncReplayEntries(Set<? extends Position> positions,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx)
Read the specified set of positions from ManagedLedger without ordering.
|
Set<? extends Position> |
ManagedCursor.asyncReplayEntries(Set<? extends Position> positions,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
boolean sortEntries)
Read the specified set of positions from ManagedLedger.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ManagedCursorImpl.asyncReadEntries(int numberOfEntriesToRead,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition) |
void |
ManagedCursorImpl.asyncReadEntries(int numberOfEntriesToRead,
long maxSizeBytes,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition) |
void |
ManagedCursorImpl.asyncReadEntriesOrWait(int numberOfEntriesToRead,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition) |
void |
ManagedCursorImpl.asyncReadEntriesOrWait(int maxEntries,
long maxSizeBytes,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
PositionImpl maxPosition) |
void |
EntryCacheImpl.asyncReadEntry(org.apache.bookkeeper.client.api.ReadHandle lh,
long firstEntry,
long lastEntry,
boolean isSlowestReader,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx) |
void |
EntryCache.asyncReadEntry(org.apache.bookkeeper.client.api.ReadHandle lh,
long firstEntry,
long lastEntry,
boolean isSlowestReader,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx)
Read entries from the cache or from bookkeeper.
|
void |
EntryCacheManager.EntryCacheDisabled.asyncReadEntry(org.apache.bookkeeper.client.api.ReadHandle lh,
long firstEntry,
long lastEntry,
boolean isSlowestReader,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx) |
Set<? extends Position> |
ManagedCursorImpl.asyncReplayEntries(Set<? extends Position> positions,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx)
Async replays given positions: a.
|
Set<? extends Position> |
ManagedCursorImpl.asyncReplayEntries(Set<? extends Position> positions,
AsyncCallbacks.ReadEntriesCallback callback,
Object ctx,
boolean sortEntries) |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.