com.hazelcast.client.util
public class RoundRobinLB extends AbstractLoadBalancer
LoadBalancer
implementation that relies on using round robin
to a next member to send a request to.
Round robin is done based on best effort basis, the order of members for concurrent calls to
the next()
is not guaranteed.Constructor and Description |
---|
RoundRobinLB() |
RoundRobinLB(int seed) |
Modifier and Type | Method and Description |
---|---|
Member |
next()
Returns the next member to route to.
|
getMembers, init, memberAdded, memberAttributeChanged, memberRemoved
public Member next()
LoadBalancer
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.