- All Implemented Interfaces:
public class RandomLB extends AbstractLoadBalancer
LoadBalancerthat selects a random member to route to.
public Member next()Returns the next member to route to.
- Returns the next member or null if no member is available
public Member nextDataMember()Returns the next data member to route to.
- Returns the next data member or null if no data member is available
public boolean canGetNextDataMember()Returns whether this instance supports getting data members through a call to
This method is used by components that require communication with data members only, such as the SQL engine.