public class PersistentMessageFinder extends Object implements AsyncCallbacks.FindEntryCallback
| Constructor and Description |
|---|
PersistentMessageFinder(String topicName,
ManagedCursor cursor) |
| Modifier and Type | Method and Description |
|---|---|
void |
findEntryComplete(Position position,
Object ctx) |
void |
findEntryFailed(ManagedLedgerException exception,
Optional<Position> failedReadPosition,
Object ctx) |
void |
findMessages(long timestamp,
AsyncCallbacks.FindEntryCallback callback) |
public PersistentMessageFinder(String topicName, ManagedCursor cursor)
public void findMessages(long timestamp,
AsyncCallbacks.FindEntryCallback callback)
public void findEntryComplete(Position position, Object ctx)
findEntryComplete in interface AsyncCallbacks.FindEntryCallbackpublic void findEntryFailed(ManagedLedgerException exception, Optional<Position> failedReadPosition, Object ctx)
findEntryFailed in interface AsyncCallbacks.FindEntryCallbackCopyright © 2017–2022 Apache Software Foundation. All rights reserved.