接口的使用
org.apache.pulsar.client.impl.SendCallback
使用SendCallback的程序包
-
org.apache.pulsar.client.impl中SendCallback的使用
修饰符和类型方法说明booleanBatchMessageContainerBase.add(MessageImpl<?> msg, SendCallback callback) Add message to the batch message container.voidSendCallback.addCallback(MessageImpl<?> msg, SendCallback scb) used to specify a callback to be invoked on completion of a send operation for individual messages sent in a batch.voidProducerImpl.sendAsync(Message<?> message, SendCallback callback)