Class HostSelector


  • public class HostSelector
    extends Object
    A host selector intended for concurrent access.
    • Method Detail

      • copyInto

        public void copyInto​(List<String> hosts)
        Clear the given list and copy the host list into it.
        Parameters:
        hosts -
      • selectHost

        public String selectHost()
      • demote

        public void demote​(String host)