Options
All
  • Public
  • Public/Protected
  • All
Menu

A LoadBalancer selects one of the endpoints(Members) for the next send operation that be directed to many endpoints. It is up to the implementation to use different load balancing policies.

If the client is a smart client configured with ClientNetworkConfig.smartRouting, only the operations that are not key based will be routed via LoadBalancer. If the client is not a smart client, the LoadBalancer will not be used.

Hierarchy

  • LoadBalancer

Implemented by

Index

Methods

  • canGetNextDataMember(): boolean
  • Returns whether this instance supports getting data members through a call to nextDataMember.

    deprecated

    Since 5.0, the method is unused

    Returns boolean

    Returns true if this load balancer can get a data member.

  • Returns the next data member to route to.

    deprecated

    Since 5.0, the method is unused

    Returns Member

    Returns the next data member or null if no data member is available

Generated using TypeDoc