Interface ClusterNodesCommandsExecutor

  • All Known Implementing Classes:
    ClusterNodesCommandsExecutorImpl

    @Internal
    public interface ClusterNodesCommandsExecutor
    The API for executing higher-order commands on other nodes in the cluster.
    Since:
    9.5
    • Method Detail

      • ensureNodeVisibilityOrWait

        boolean ensureNodeVisibilityOrWait()
        Notifying 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 or com.atlassian.bamboo.cluster.BambooClusterSettings.CLUSTER_HEARTBEAT_JOB_INTERVAL_IN_SECONDS seconds passed.
        Returns:
        true if all nodes in the cluster have explicitly acknowledged the visibility of the node, false if the function had to wait