1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 22:33:17 +00:00
musix-oss/node_modules/@grpc/grpc-js/build/src/load-balancer-round-robin.d.ts
2020-03-03 22:30:50 +02:00

22 lines
858 B
TypeScript

import { LoadBalancer, ChannelControlHelper } from './load-balancer';
import { LoadBalancingConfig } from './load-balancing-config';
export declare class RoundRobinLoadBalancer implements LoadBalancer {
private channelControlHelper;
private subchannels;
private currentState;
private subchannelStateListener;
private subchannelStateCounts;
private currentReadyPicker;
constructor(channelControlHelper: ChannelControlHelper);
private calculateAndUpdateState;
private updateState;
private resetSubchannelList;
updateAddressList(addressList: string[], lbConfig: LoadBalancingConfig | null): void;
exitIdle(): void;
resetBackoff(): void;
destroy(): void;
getTypeName(): string;
replaceChannelControlHelper(channelControlHelper: ChannelControlHelper): void;
}
export declare function setup(): void;