public static class BatchlogManager.EndpointFilter
extends java.lang.Object
| Constructor and Description |
|---|
EndpointFilter(java.lang.String localRack,
com.google.common.collect.Multimap<java.lang.String,java.net.InetAddress> endpoints) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<java.net.InetAddress> |
filter() |
protected int |
getRandomInt(int bound) |
protected boolean |
isValid(java.net.InetAddress input) |
public EndpointFilter(java.lang.String localRack,
com.google.common.collect.Multimap<java.lang.String,java.net.InetAddress> endpoints)
public java.util.Collection<java.net.InetAddress> filter()
protected boolean isValid(java.net.InetAddress input)
protected int getRandomInt(int bound)
Copyright © 2016 The Apache Software Foundation