public interface Message<T>
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
acknowledge() |
Client |
getClient() |
Consumer<T> |
getConsumer() |
T |
getData() |
TimeUnit |
getDelayTimeUnit() |
Long |
getDelayValue() |
Long |
getEventTime() |
String |
getKey() |
MessageId |
getMessageId() |
Producer<T> |
getProducer() |
String |
getProducerName() |
Map<String,String> |
getProperties() |
Long |
getPublishTime() |
String |
getReplicatedFrom() |
Topic |
getTopic() |
boolean |
isReplicated() |
Client getClient()
T getData()
String getProducerName()
Long getEventTime()
Topic getTopic()
String getKey()
MessageId getMessageId()
CompletableFuture<Void> acknowledge()
Long getPublishTime()
boolean isReplicated()
String getReplicatedFrom()
TimeUnit getDelayTimeUnit()
Long getDelayValue()
Copyright © 2019-2021, TurtleQueue All Rights Reserved. Use is subject to license terms.