Package org.nuxeo.runtime.pubsub
Interface ClusterActionService
-
- All Known Implementing Classes:
ClusterActionServiceImpl
public interface ClusterActionService
- Since:
- 2023.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default 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 Detail
-
registerAction
void registerAction(String action, Consumer<ClusterActionMessage> consumer)
Registers an action for a requested propagation
-
executeAction
default void executeAction(String action, String param)
Propagate an action to all others nodes in the cluster.
-
executeAction
void executeAction(ClusterActionMessage message)
Propagate an action to all others nodes in the cluster.
-
-