Package org.nuxeo.ecm.restapi.server
Class ClusterActionPubSub
java.lang.Object
org.nuxeo.runtime.pubsub.AbstractPubSubBroker<ClusterAction>
org.nuxeo.ecm.restapi.server.ClusterActionPubSub
Deprecated.
PubSub to propagate an action to all nodes in the cluster.
- Since:
- 2021.25
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.static final StringDeprecated.static final StringDeprecated.Fields inherited from class org.nuxeo.runtime.pubsub.AbstractPubSubBroker
DISCRIMINATOR_SEP, discriminatorBytes, topic -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deserializes anInputStreaminto a message, ornull.voidreceivedMessage(ClusterAction message) Deprecated.Callback implementing the delivery of a message from another node.voidsendClusterAction(String action, String param) Deprecated.Methods inherited from class org.nuxeo.runtime.pubsub.AbstractPubSubBroker
close, initialize, scanDiscriminator, sendMessage, subscriber
-
Field Details
-
CLUSTER_ACTION_PUB_SUB_TOPIC
Deprecated.- See Also:
-
START_CONSUMER_ACTION
Deprecated.- See Also:
-
STOP_CONSUMER_ACTION
Deprecated.- See Also:
-
-
Constructor Details
-
ClusterActionPubSub
public ClusterActionPubSub()Deprecated.
-
-
Method Details
-
deserialize
Deprecated.Description copied from class:AbstractPubSubBrokerDeserializes anInputStreaminto a message, ornull.- Specified by:
deserializein classAbstractPubSubBroker<ClusterAction>- Throws:
IOException
-
sendClusterAction
Deprecated. -
receivedMessage
Deprecated.Description copied from class:AbstractPubSubBrokerCallback implementing the delivery of a message from another node.- Specified by:
receivedMessagein classAbstractPubSubBroker<ClusterAction>- Parameters:
message- the received message
-
ClusterActionServiceinstead