mirror of https://github.com/apache/druid.git
simplify things a bit
This commit is contained in:
parent
632d6b0a78
commit
ca90530085
|
@ -26,11 +26,7 @@ import java.util.Set;
|
|||
|
||||
public class RandomServerSelectorStrategy implements ServerSelectorStrategy
|
||||
{
|
||||
Random random;
|
||||
|
||||
public RandomServerSelectorStrategy() {
|
||||
this.random = new Random();
|
||||
}
|
||||
private static final Random random = new Random();
|
||||
|
||||
@Override
|
||||
public QueryableDruidServer pick(Set<QueryableDruidServer> servers)
|
||||
|
|
Loading…
Reference in New Issue