1 | import { LoadBalancer, ChannelControlHelper, LoadBalancingConfig } from './load-balancer';
|
2 | import { SubchannelAddress } from './subchannel-address';
|
3 | export declare class RoundRobinLoadBalancer implements LoadBalancer {
|
4 | private readonly channelControlHelper;
|
5 | private subchannels;
|
6 | private currentState;
|
7 | private subchannelStateListener;
|
8 | private currentReadyPicker;
|
9 | constructor(channelControlHelper: ChannelControlHelper);
|
10 | private countSubchannelsWithState;
|
11 | private calculateAndUpdateState;
|
12 | private updateState;
|
13 | private resetSubchannelList;
|
14 | updateAddressList(addressList: SubchannelAddress[], lbConfig: LoadBalancingConfig): void;
|
15 | exitIdle(): void;
|
16 | resetBackoff(): void;
|
17 | destroy(): void;
|
18 | getTypeName(): string;
|
19 | }
|
20 | export declare function setup(): void;
|