Class HostSelector

java.lang.Object
io.continual.onap.services.mrCommon.HostSelector

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

    • builder

      public static HostSelector.Builder builder()
    • 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)