Class PersistentReplicator.ProducerSendCallback
java.lang.Object
org.apache.pulsar.broker.service.persistent.PersistentReplicator.ProducerSendCallback
- All Implemented Interfaces:
SendCallback
- Enclosing class:
- PersistentReplicator
protected static final class PersistentReplicator.ProducerSendCallback
extends Object
implements SendCallback
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCallback(MessageImpl<?> msg, SendCallback scb) CompletableFuture<org.apache.pulsar.client.api.MessageId>MessageImpl<?>voidsendComplete(Throwable exception, OpSendMsgStats opSendMsgStats)
-
Method Details
-
sendComplete
- Specified by:
sendCompletein interfaceSendCallback
-
addCallback
- Specified by:
addCallbackin interfaceSendCallback
-
getNextSendCallback
- Specified by:
getNextSendCallbackin interfaceSendCallback
-
getNextMessage
- Specified by:
getNextMessagein interfaceSendCallback
-
getFuture
- Specified by:
getFuturein interfaceSendCallback
-