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
Modifier and TypeFieldDescriptionstatic final String
Deprecated.static final String
Deprecated.static final String
Deprecated.Fields inherited from class org.nuxeo.runtime.pubsub.AbstractPubSubBroker
DISCRIMINATOR_SEP, discriminatorBytes, topic
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Deserializes anInputStream
into a message, ornull
.void
receivedMessage
(ClusterAction message) Deprecated.Callback implementing the delivery of a message from another node.void
sendClusterAction
(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:AbstractPubSubBroker
Deserializes anInputStream
into a message, ornull
.- Specified by:
deserialize
in classAbstractPubSubBroker<ClusterAction>
- Throws:
IOException
-
sendClusterAction
Deprecated. -
receivedMessage
Deprecated.Description copied from class:AbstractPubSubBroker
Callback implementing the delivery of a message from another node.- Specified by:
receivedMessage
in classAbstractPubSubBroker<ClusterAction>
- Parameters:
message
- the received message
-
ClusterActionService
instead