Package org.nuxeo.runtime.pubsub
Class ClusterActionMessage
- java.lang.Object
-
- org.nuxeo.runtime.pubsub.ClusterActionMessage
-
- All Implemented Interfaces:
Serializable
,SerializableMessage
public class ClusterActionMessage extends Object implements SerializableMessage
An action that needs to be propagated to all nodes in the cluster.- Since:
- 2023.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterActionMessage(String action, String param)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ClusterActionMessage
deserialize(InputStream in)
void
serialize(OutputStream out)
Serializes this to an output stream.String
toString()
-
-
-
Field Detail
-
SEP
protected static final String SEP
- See Also:
- Constant Field Values
-
action
public final String action
-
param
public final String param
-
-
Method Detail
-
deserialize
public static ClusterActionMessage deserialize(InputStream in) throws IOException
- Throws:
IOException
-
serialize
public void serialize(OutputStream out) throws IOException
Description copied from interface:SerializableMessage
Serializes this to an output stream. The deserialization is handled byAbstractPubSubBroker.deserialize(java.io.InputStream)
.- Specified by:
serialize
in interfaceSerializableMessage
- Throws:
IOException
-
-