Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## jet.server.api.cluster
Interface LoadBalancer

    public interface LoadBalancer

The `LoadBalancer` interface provides a method for selecting a member in a cluster by customized load balancing algorithm.

Since:
  5.0
See Also:
  `ClusterService`

Method Summary
`Member` | `selectMember(Member localMember, Member[] allMembers)` Selects a member in a cluster by customized load balancing algorithm.

Method Detail

### selectMember

    Member selectMember(Member localMember,
                        Member[] allMembers)

  Selects a member in a cluster by customized load balancing algorithm.

  Parameters:
    `localMember` - the local member.
    `allMembers` - all members in the cluster.
  Returns:
    the selected member.
  See Also:
    `Member`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD