public abstract class AbstractRoundRobinLoadBalancer extends Object implements LoadBalancer
| Modifier and Type | Field and Description | 
|---|---|
protected AtomicInteger | 
index  | 
| Constructor and Description | 
|---|
AbstractRoundRobinLoadBalancer()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected ServiceInstance | 
getNextAvailable(List<ServiceInstance> serviceInstances)  | 
abstract String | 
getServiceID()  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitempty, fixed, select, selectprotected final AtomicInteger index
public abstract String getServiceID()
protected ServiceInstance getNextAvailable(List<ServiceInstance> serviceInstances)
serviceInstances - A list of service instancesNoAvailableServiceException if none