Package org.apache.catalina.ha
Interface ClusterMessage
-
- All Superinterfaces:
java.io.Serializable
- All Known Subinterfaces:
SessionMessage
- All Known Implementing Classes:
ClusterMessageBase,FileMessage,SessionMessageImpl,UndeployMessage
public interface ClusterMessage extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MembergetAddress()longgetTimestamp()java.lang.StringgetUniqueId()voidsetAddress(Member member)Set the member associated with the message.voidsetTimestamp(long timestamp)Set the timestamp for this message.
-
-
-
Method Detail
-
getAddress
Member getAddress()
- Returns:
- the member associated with the message
-
setAddress
void setAddress(Member member)
Set the member associated with the message.- Parameters:
member- the member
-
getUniqueId
java.lang.String getUniqueId()
- Returns:
- the unique id of the message
-
getTimestamp
long getTimestamp()
- Returns:
- the message timestamp
-
setTimestamp
void setTimestamp(long timestamp)
Set the timestamp for this message.- Parameters:
timestamp- the timestamp
-
-