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.rmi.cluster
Interface RemoteLoadBalancer

All Superinterfaces:
  java.rmi.Remote

    public interface RemoteLoadBalancer

extends java.rmi.Remote

The `RemoteLoadBalancer` interface provides a method to select a member in a cluster by customized load balancing algorithm via RMI.
This is an RMI-based interface, invocation on the method of this interface will bring an RMI call on the associated JReport Server underlying `LoadBalancer`.

Since:
  5.2
See Also:
  `LoadBalancer`, `RemoteClusterService`

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)
                        throws java.rmi.RemoteException

  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.
  Throws:
    `java.rmi.RemoteException` - if communication-related error occurs during RMI call execution
  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