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 Long
getMessageData()
NodeModel
getSourceNode()
NodeModel
getTargetNode()
void
setSourceNode(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:
getTargetNode
in interfaceIClusterMessage
- Returns:
- The node to which the message should be sent.
-
setSourceNode
public void setSourceNode(NodeModel sender)
- Specified by:
setSourceNode
in interfaceIClusterMessage
- Parameters:
sender
- The source node from which the message originates.
-
getSourceNode
public NodeModel getSourceNode()
- Specified by:
getSourceNode
in interfaceIClusterMessage
- Returns:
- The source node from which the message originates.
-
getMessageData
public Long getMessageData()
- Specified by:
getMessageData
in interfaceIClusterMessage
- Returns:
- The payload with the message details.
-
-