Package org.nuxeo.runtime.pubsub
Interface ClusterActionService
- All Known Implementing Classes:
ClusterActionServiceImpl
public interface ClusterActionService
- Since:
- 2023.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
executeAction
(String action, String param) Propagate an action to all others nodes in the cluster.void
executeAction
(ClusterActionMessage message) Propagate an action to all others nodes in the cluster.void
registerAction
(String action, Consumer<ClusterActionMessage> consumer) Registers an action for a requested propagation
-
Method Details
-
registerAction
Registers an action for a requested propagation -
executeAction
Propagate an action to all others nodes in the cluster. -
executeAction
Propagate an action to all others nodes in the cluster.
-