Interface ClusterNodesCommandsExecutor
-
- All Known Implementing Classes:
ClusterNodesCommandsExecutorImpl
@Internal public interface ClusterNodesCommandsExecutorThe API for executing higher-order commands on other nodes in the cluster.- Since:
- 9.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidensureNodeVisibilityOrWait()Notifying all cluster nodes that the node the method is called on is reachable and visible to the cluster.
-
-
-
Method Detail
-
ensureNodeVisibilityOrWait
void ensureNodeVisibilityOrWait() throws StartupExceptionNotifying all cluster nodes that the node the method is called on is reachable and visible to the cluster. The method will block until either all nodes in the cluster have acknowledged the visibility of the node orcom.atlassian.bamboo.cluster.BambooClusterSettings.CLUSTER_HEARTBEAT_JOB_INTERVAL_IN_SECONDSseconds passed.- Throws:
StartupException- if the notification to other nodes fails, indicating potential connection issues between nodes.
-
-