Package de.xima.fc.cluster.model.msg
Class ClusterFSConfigUpdateMessage
- java.lang.Object
-
- de.xima.fc.cluster.model.msg.ClusterFSConfigUpdateMessage
-
- All Implemented Interfaces:
IClusterMessage,Serializable
public class ClusterFSConfigUpdateMessage extends Object implements IClusterMessage
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterFSConfigUpdateMessage(Long fsServerId)Creates a new message that tells another node to trigger a frontend-server config update.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetMessageData()NodeModelgetSourceNode()NodeModelgetTargetNode()voidsetSourceNode(NodeModel sender)
-
-
-
Constructor Detail
-
ClusterFSConfigUpdateMessage
public ClusterFSConfigUpdateMessage(Long fsServerId)
Creates a new message that tells another node to trigger a frontend-server config update.- Parameters:
fsServerId- the id of the frontend-server where the config should be updated
-
-
Method Detail
-
getTargetNode
public NodeModel getTargetNode()
- Specified by:
getTargetNodein interfaceIClusterMessage- Returns:
- The node to which the message should be sent.
-
setSourceNode
public void setSourceNode(NodeModel sender)
- Specified by:
setSourceNodein interfaceIClusterMessage- Parameters:
sender- The source node from which the message originates.
-
getSourceNode
public NodeModel getSourceNode()
- Specified by:
getSourceNodein interfaceIClusterMessage- Returns:
- The source node from which the message originates.
-
getMessageData
public Long getMessageData()
- Specified by:
getMessageDatain interfaceIClusterMessage- Returns:
- The payload with the message details.
-
-