Interface LoadBalancingStrategy

    • Method Detail

      • initialize

        void initialize​(Cluster cluster,
                        Collection<Host> hosts)
        Initialize the strategy with the Cluster instance and the expected host list.
      • select

        Iterator<Host> select​(org.apache.tinkerpop.gremlin.util.message.RequestMessage msg)
        Provide an ordered list of hosts to send the given RequestMessage to.