public static class ServicePeerAllocationStrategy.RoundRobin extends InMemoryMessagingNetwork.ServicePeerAllocationStrategy
ServicePeerAllocationStrategy.Random, ServicePeerAllocationStrategy.RoundRobin
Constructor and Description |
---|
RoundRobin() |
Modifier and Type | Method and Description |
---|---|
<A> A |
pickNext(InMemoryMessagingNetwork.DistributedServiceHandle service,
java.util.List<? extends A> pickFrom) |
pickNext
public <A> A pickNext(InMemoryMessagingNetwork.DistributedServiceHandle service, java.util.List<? extends A> pickFrom)