Class RoundRobinHostGenerator

    • Field Detail

      • AVAILABLE_HOSTS

        protected final List<HostSetting> AVAILABLE_HOSTS
        the list of available hosts
    • Constructor Detail

      • RoundRobinHostGenerator

        public RoundRobinHostGenerator​(List<HostSetting> hosts)
        Constructor
    • Method Detail

      • getIndexOfNextHost

        protected int getIndexOfNextHost()
        get the index of the next host
      • tryNextHost

        protected String tryNextHost​(int trial)
        try to reach the next host
      • toString

        public String toString()
        description of this generator
        Overrides:
        toString in class Object