T
- The type of payload contained in this Message; may be Void
if no payload was providedpublic interface DeadlineMessage<T> extends EventMessage<T>
Modifier and Type | Method and Description |
---|---|
DeadlineMessage<T> |
andMetaData(Map<String,?> additionalMetaData)
Returns a copy of this DeadlineMessage with its MetaData merged with given
additionalMetaData . |
String |
getDeadlineName()
Retrieve a
String representing the name of this DeadlineMessage. |
DeadlineMessage<T> |
withMetaData(Map<String,?> metaData)
Returns a copy of this DeadlineMessage with the given
metaData . |
getIdentifier, getTimestamp
getMetaData, getPayload, getPayloadType, serializeMetaData, serializePayload
String getDeadlineName()
String
representing the name of this DeadlineMessage.String
representing the name of this DeadlineMessageDeadlineMessage<T> withMetaData(Map<String,?> metaData)
metaData
. The payload remains unchanged.withMetaData
in interface EventMessage<T>
withMetaData
in interface Message<T>
metaData
- The new MetaData for the MessageDeadlineMessage<T> andMetaData(Map<String,?> additionalMetaData)
additionalMetaData
. The
payload remains unchanged.andMetaData
in interface EventMessage<T>
andMetaData
in interface Message<T>
additionalMetaData
- The MetaData to merge into the DeadlineMessageCopyright © 2010–2019. All rights reserved.