Package org.apache.catalina.ha
Class ClusterMessageBase
java.lang.Object
org.apache.catalina.ha.ClusterMessageBase
- All Implemented Interfaces:
- Serializable,- ClusterMessage
- Direct Known Subclasses:
- FileMessage,- SessionMessageImpl
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlongvoidsetAddress(Member member) Set the member associated with the message.voidsetTimestamp(long timestamp) Set the timestamp for this message.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.catalina.ha.ClusterMessagegetUniqueId
- 
Field Details- 
address
 
- 
- 
Constructor Details- 
ClusterMessageBasepublic ClusterMessageBase()
 
- 
- 
Method Details- 
getAddress- Specified by:
- getAddressin interface- ClusterMessage
- Returns:
- the member associated with the message
 
- 
getTimestamppublic long getTimestamp()- Specified by:
- getTimestampin interface- ClusterMessage
- Returns:
- the message timestamp
 
- 
setAddressDescription copied from interface:ClusterMessageSet the member associated with the message.- Specified by:
- setAddressin interface- ClusterMessage
- Parameters:
- member- the member
 
- 
setTimestamppublic void setTimestamp(long timestamp) Description copied from interface:ClusterMessageSet the timestamp for this message.- Specified by:
- setTimestampin interface- ClusterMessage
- Parameters:
- timestamp- the timestamp
 
 
-