Package org.apache.pulsar.compaction
Interface CompactedTopic
- All Known Implementing Classes:
CompactedTopicImpl
public interface CompactedTopic
-
Method Summary
Modifier and TypeMethodDescriptionvoidasyncReadEntriesOrWait(ManagedCursor cursor, int maxEntries, long bytesToRead, Position maxReadPosition, boolean isFirstRead, AsyncCallbacks.ReadEntriesCallback callback, Consumer consumer) Deprecated.deleteCompactedLedger(long compactedLedgerId) newCompactedLedger(Position p, long compactedLedgerId)
-
Method Details
-
newCompactedLedger
-
deleteCompactedLedger
-
asyncReadEntriesOrWait
@Deprecated void asyncReadEntriesOrWait(ManagedCursor cursor, int maxEntries, long bytesToRead, Position maxReadPosition, boolean isFirstRead, AsyncCallbacks.ReadEntriesCallback callback, Consumer consumer) Deprecated.Read entries from compacted topic. -
readLastEntryOfCompactedLedger
CompletableFuture<Entry> readLastEntryOfCompactedLedger() -
getCompactionHorizon
-
CompactedTopicUtils.asyncReadCompactedEntries(TopicCompactionService, ManagedCursor, int, long, org.apache.bookkeeper.mledger.Position, boolean, ReadEntriesCallback, boolean, Consumer)instead.