| Constructor and Description |
|---|
MessageImpl(ClientImpl c,
ConsumerImpl<T> consumer,
MessageIdImpl messageId,
T payload,
String producerName,
Long eventTime,
Long publishTime,
Topic topic,
String key,
Map<String,String> properties,
ProducerImpl<T> producer,
Boolean isReplicated,
String replicatedFrom,
Long delay,
TimeUnit delayTimeUnit) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
acknowledge() |
boolean |
equals(Object o) |
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() |
int |
hashCode() |
boolean |
isReplicated() |
String |
toString() |
public MessageImpl(ClientImpl c, ConsumerImpl<T> consumer, MessageIdImpl messageId, T payload, String producerName, Long eventTime, Long publishTime, Topic topic, String key, Map<String,String> properties, ProducerImpl<T> producer, Boolean isReplicated, String replicatedFrom, Long delay, TimeUnit delayTimeUnit)
public MessageId getMessageId()
getMessageId in interface Message<T>public Consumer<T> getConsumer()
getConsumer in interface Message<T>public String getProducerName()
getProducerName in interface Message<T>public Long getEventTime()
getEventTime in interface Message<T>public Long getPublishTime()
getPublishTime in interface Message<T>public boolean isReplicated()
isReplicated in interface Message<T>public String getReplicatedFrom()
getReplicatedFrom in interface Message<T>public Map<String,String> getProperties()
getProperties in interface Message<T>public CompletableFuture<Void> acknowledge()
acknowledge in interface Message<T>public Long getDelayValue()
getDelayValue in interface Message<T>public TimeUnit getDelayTimeUnit()
getDelayTimeUnit in interface Message<T>public Producer<T> getProducer()
getProducer in interface Message<T>Copyright © 2019-2021, TurtleQueue All Rights Reserved. Use is subject to license terms.