public interface MessageRecoveryListener
Modifier and Type | Method and Description |
---|---|
default boolean |
canRecoveryNextMessage() |
boolean |
hasSpace() |
boolean |
isDuplicate(MessageId ref)
check if ref is a duplicate but do not record the reference
|
boolean |
recoverMessage(Message message) |
boolean |
recoverMessageReference(MessageId ref) |
boolean recoverMessage(Message message) throws Exception
Exception
boolean recoverMessageReference(MessageId ref) throws Exception
Exception
boolean hasSpace()
default boolean canRecoveryNextMessage()
boolean isDuplicate(MessageId ref)
ref
- Copyright © 2005–2019 The Apache Software Foundation. All rights reserved.