public abstract class AbstractMessage extends Object implements Message
| Constructor and Description |
|---|
AbstractMessage(String messageId,
Long timestamp,
String entityId,
String entityType,
String entitySource) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canCoalesce() |
boolean |
equals(Object o) |
String |
getEntityId()
Get the id of the entity this message refers to.
|
String |
getEntitySource()
Get the source identifier of the entity to which this message refers.
|
String |
getEntityType()
Get the type of the entity this message refers to.
|
String |
getMessageId()
Get a unique id for this message.
|
Long |
getTimestamp()
Get the timestamp when the message happened
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitdispatchTopublic String getMessageId()
MessagegetMessageId in interface Messagepublic Long getTimestamp()
MessagegetTimestamp in interface Messagepublic String getEntityId()
MessagegetEntityId in interface Messagepublic String getEntityType()
MessagegetEntityType in interface Messagepublic String getEntitySource()
MessagegetEntitySource in interface Messagepublic boolean canCoalesce()
canCoalesce in interface MessageCopyright © 2014. All rights reserved.