Uses of Class
io.grpc.NameResolver.ConfigOrError
Packages that use NameResolver.ConfigOrError
Package
Description
The gRPC core public API.
Interfaces and implementations that are internal to gRPC.
Utilities with advanced features in the core layer that user can optionally use.
-
Uses of NameResolver.ConfigOrError in io.grpc
Methods in io.grpc that return NameResolver.ConfigOrErrorModifier and TypeMethodDescriptionstatic NameResolver.ConfigOrError
NameResolver.ConfigOrError.fromConfig
(Object config) Returns aNameResolver.ConfigOrError
for the successfully parsed config.static NameResolver.ConfigOrError
Returns aNameResolver.ConfigOrError
for the failure to parse the config.NameResolver.ResolutionResult.getServiceConfig()
Gets the Service Config parsed byNameResolver.Args.getServiceConfigParser()
.LoadBalancerProvider.parseLoadBalancingPolicyConfig
(Map<String, ?> rawLoadBalancingPolicyConfig) Parses the config for the Load Balancing policy unpacked from the service config.abstract NameResolver.ConfigOrError
NameResolver.ServiceConfigParser.parseServiceConfig
(Map<String, ?> rawServiceConfig) Parses and validates the service configuration chosen by the name resolver.Methods in io.grpc with parameters of type NameResolver.ConfigOrErrorModifier and TypeMethodDescriptionNameResolver.ResolutionResult.Builder.setServiceConfig
(NameResolver.ConfigOrError serviceConfig) Sets the Service Config parsed byNameResolver.Args.getServiceConfigParser()
. -
Uses of NameResolver.ConfigOrError in io.grpc.internal
Methods in io.grpc.internal that return NameResolver.ConfigOrErrorModifier and TypeMethodDescriptionPickFirstLoadBalancerProvider.parseLoadBalancingPolicyConfig
(Map<String, ?> rawLbPolicyConfig) ScParser.parseServiceConfig
(Map<String, ?> rawServiceConfig) static NameResolver.ConfigOrError
ServiceConfigUtil.selectLbPolicyFromList
(List<ServiceConfigUtil.LbConfig> lbConfigs, LoadBalancerRegistry lbRegistry) Parses and selects a load balancing policy from a non-empty list of raw configs. -
Uses of NameResolver.ConfigOrError in io.grpc.util
Methods in io.grpc.util that return NameResolver.ConfigOrErrorModifier and TypeMethodDescriptionstatic NameResolver.ConfigOrError
GracefulSwitchLoadBalancer.parseLoadBalancingPolicyConfig
(List<Map<String, ?>> loadBalancingConfigs) Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.static NameResolver.ConfigOrError
GracefulSwitchLoadBalancer.parseLoadBalancingPolicyConfig
(List<Map<String, ?>> loadBalancingConfigs, LoadBalancerRegistry lbRegistry) Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.OutlierDetectionLoadBalancerProvider.parseLoadBalancingPolicyConfig
(Map<String, ?> rawConfig)