public interface CompactedTopic
| Modifier and Type | Method and Description |
|---|---|
void |
asyncReadEntriesOrWait(ManagedCursor cursor,
int numberOfEntriesToRead,
boolean isFirstRead,
AsyncCallbacks.ReadEntriesCallback callback,
Consumer consumer) |
CompletableFuture<Void> |
deleteCompactedLedger(long compactedLedgerId) |
Optional<Position> |
getCompactionHorizon() |
CompletableFuture<CompactedTopicContext> |
newCompactedLedger(Position p,
long compactedLedgerId) |
CompletableFuture<Entry> |
readLastEntryOfCompactedLedger() |
CompletableFuture<CompactedTopicContext> newCompactedLedger(Position p, long compactedLedgerId)
CompletableFuture<Void> deleteCompactedLedger(long compactedLedgerId)
void asyncReadEntriesOrWait(ManagedCursor cursor, int numberOfEntriesToRead, boolean isFirstRead, AsyncCallbacks.ReadEntriesCallback callback, Consumer consumer)
CompletableFuture<Entry> readLastEntryOfCompactedLedger()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.