Class RandomLB

All Implemented Interfaces:
LoadBalancer, InitialMembershipListener, MembershipListener, EventListener

public class RandomLB
extends AbstractLoadBalancer
A LoadBalancer that selects a random member to route to.
  • Constructor Details

  • Method Details

    • next

      public Member next()
      Description copied from interface: LoadBalancer
      Returns the next member to route to.
      Returns the next member or null if no member is available