public class HostSelector extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
HostSelector.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HostSelector.Builder |
builder() |
void |
copyInto(List<String> hosts)
Clear the given list and copy the host list into it.
|
void |
demote(String host) |
String |
selectHost() |
public static HostSelector.Builder builder()
public void copyInto(List<String> hosts)
hosts - public String selectHost()
public void demote(String host)
Copyright © 2021 continual.io. All rights reserved.