Package org.apache.pinot.common.utils
Class RoundRobinURIProvider
- java.lang.Object
-
- org.apache.pinot.common.utils.RoundRobinURIProvider
-
public class RoundRobinURIProvider extends Object
RoundRobinURIProvider accept a URI, try to resolve it into multiple URIs with IP address, and return a IP address URI in a Round Robin way.
-
-
Constructor Summary
Constructors Constructor Description RoundRobinURIProvider(URI originalUri)
-
-
-
Constructor Detail
-
RoundRobinURIProvider
public RoundRobinURIProvider(URI originalUri) throws UnknownHostException, URISyntaxException
-
-
Method Detail
-
numAddresses
public int numAddresses()
-
next
public URI next()
-
-