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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
void
setAddress
(Member member) Set the member associated with the message.void
setTimestamp
(long timestamp) Set the timestamp for this message.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.catalina.ha.ClusterMessage
getUniqueId
-
Field Details
-
address
-
-
Constructor Details
-
ClusterMessageBase
public ClusterMessageBase()
-
-
Method Details
-
getAddress
- Specified by:
getAddress
in interfaceClusterMessage
- Returns:
- the member associated with the message
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestamp
in interfaceClusterMessage
- Returns:
- the message timestamp
-
setAddress
Description copied from interface:ClusterMessage
Set the member associated with the message.- Specified by:
setAddress
in interfaceClusterMessage
- Parameters:
member
- the member
-
setTimestamp
public void setTimestamp(long timestamp) Description copied from interface:ClusterMessage
Set the timestamp for this message.- Specified by:
setTimestamp
in interfaceClusterMessage
- Parameters:
timestamp
- the timestamp
-