summaryrefslogtreecommitdiff
path: root/frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
diff options
context:
space:
mode:
authoraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
committeraltaf-creator <dev@altafcreator.com>2025-11-16 19:08:29 +0800
commit434aa8343fdcbb4d5002f934979913c099489bee (patch)
tree55bab4ec5a6151be57797d34f61faf5ea744471b /frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
parent893c388d4e99442a36005e5971a87730623f946e (diff)
sdk, del
Diffstat (limited to 'frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts')
-rw-r--r--frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts67
1 files changed, 0 insertions, 67 deletions
diff --git a/frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts b/frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
deleted file mode 100644
index 1f697fb..0000000
--- a/frontend-old/node_modules/@grpc/grpc-js/build/src/resolving-load-balancer.d.ts
+++ /dev/null
@@ -1,67 +0,0 @@
-import { ChannelControlHelper, LoadBalancer, LoadBalancingConfig } from './load-balancer';
-import { ServiceConfig } from './service-config';
-import { ConfigSelector } from './resolver';
-import { StatusObject } from './call-interface';
-import { SubchannelAddress } from './subchannel-address';
-import { GrpcUri } from './uri-parser';
-import { ChannelOptions } from './channel-options';
-export interface ResolutionCallback {
- (serviceConfig: ServiceConfig, configSelector: ConfigSelector): void;
-}
-export interface ResolutionFailureCallback {
- (status: StatusObject): void;
-}
-export declare class ResolvingLoadBalancer implements LoadBalancer {
- private readonly target;
- private readonly channelControlHelper;
- private readonly onSuccessfulResolution;
- private readonly onFailedResolution;
- /**
- * The resolver class constructed for the target address.
- */
- private readonly innerResolver;
- private readonly childLoadBalancer;
- private latestChildState;
- private latestChildPicker;
- /**
- * This resolving load balancer's current connectivity state.
- */
- private currentState;
- private readonly defaultServiceConfig;
- /**
- * The service config object from the last successful resolution, if
- * available. A value of null indicates that we have not yet received a valid
- * service config from the resolver.
- */
- private previousServiceConfig;
- /**
- * The backoff timer for handling name resolution failures.
- */
- private readonly backoffTimeout;
- /**
- * Indicates whether we should attempt to resolve again after the backoff
- * timer runs out.
- */
- private continueResolving;
- /**
- * Wrapper class that behaves like a `LoadBalancer` and also handles name
- * resolution internally.
- * @param target The address of the backend to connect to.
- * @param channelControlHelper `ChannelControlHelper` instance provided by
- * this load balancer's owner.
- * @param defaultServiceConfig The default service configuration to be used
- * if none is provided by the name resolver. A `null` value indicates
- * that the default behavior should be the default unconfigured behavior.
- * In practice, that means using the "pick first" load balancer
- * implmentation
- */
- constructor(target: GrpcUri, channelControlHelper: ChannelControlHelper, channelOptions: ChannelOptions, onSuccessfulResolution: ResolutionCallback, onFailedResolution: ResolutionFailureCallback);
- private updateResolution;
- private updateState;
- private handleResolutionFailure;
- exitIdle(): void;
- updateAddressList(addressList: SubchannelAddress[], lbConfig: LoadBalancingConfig | null): never;
- resetBackoff(): void;
- destroy(): void;
- getTypeName(): string;
-}