public class RoundRobin extends Object
Modifier and Type | Field and Description |
---|---|
static int |
startWeight |
Constructor and Description |
---|
RoundRobin(List<String> stringValues) |
Modifier and Type | Method and Description |
---|---|
void |
calculate() |
void |
fail(WeighedURL ep) |
String |
next() |
void |
update(String host,
int latency,
boolean failed) |
public static final int startWeight
public void calculate()
public String next()
public void fail(WeighedURL ep)
public void update(String host, int latency, boolean failed)
Copyright © 2016–2020. All rights reserved.