Interface ClusterMessage
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
SessionMessage
- All Known Implementing Classes:
ClusterMessageBase, FileMessage, SessionMessageImpl, UndeployMessage
Interface for messages exchanged between cluster nodes.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the member associated with this message.longReturns the timestamp of this message.Returns the unique identifier for this message.voidsetAddress(Member member) Set the member associated with the message.voidsetTimestamp(long timestamp) Set the timestamp for this message.
-
Method Details
-
getAddress
-
setAddress
Set the member associated with the message.- Parameters:
member- the member
-
getUniqueId
-
getTimestamp
long getTimestamp()Returns the timestamp of this message.- Returns:
- the timestamp in milliseconds
-
setTimestamp
void setTimestamp(long timestamp) Set the timestamp for this message.- Parameters:
timestamp- the timestamp
-