Package org.apache.catalina.ha
Class ClusterMessageBase
- java.lang.Object
-
- org.apache.catalina.ha.ClusterMessageBase
-
- All Implemented Interfaces:
java.io.Serializable,ClusterMessage
- Direct Known Subclasses:
FileMessage,SessionMessageImpl
public abstract class ClusterMessageBase extends java.lang.Object implements ClusterMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterMessageBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MembergetAddress()longgetTimestamp()voidsetAddress(Member member)Set the member associated with the message.voidsetTimestamp(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 Detail
-
address
protected transient Member address
-
-
Method Detail
-
getAddress
public Member getAddress()
- Specified by:
getAddressin interfaceClusterMessage- Returns:
- the member associated with the message
-
getTimestamp
public long getTimestamp()
- Specified by:
getTimestampin interfaceClusterMessage- Returns:
- the message timestamp
-
setAddress
public void setAddress(Member member)
Description copied from interface:ClusterMessageSet the member associated with the message.- Specified by:
setAddressin interfaceClusterMessage- Parameters:
member- the member
-
setTimestamp
public void setTimestamp(long timestamp)
Description copied from interface:ClusterMessageSet the timestamp for this message.- Specified by:
setTimestampin interfaceClusterMessage- Parameters:
timestamp- the timestamp
-
-