Interface Discovery

    • Method Detail

      • nodeDescription

        String nodeDescription()
      • setNodeService

        void setNodeService(@Nullable
                            NodeService nodeService)
        Here as a hack to solve dep injection problem...
      • setRoutingService

        void setRoutingService(RoutingService routingService)
        Another hack to solve dep injection problem..., note, this will be called before any start is called.
      • publish

        void publish(ClusterState clusterState,
                     Discovery.AckListener ackListener)
        Publish all the changes to the cluster from the master (can be called just by the master). The publish process should not publish this state to the master as well! (the master is sending it...). The Discovery.AckListener allows to keep track of the ack received from nodes, and verify whether they updated their own cluster state or not.