Uses of Class
io.grpc.NameResolver.ConfigOrError
-
Packages that use NameResolver.ConfigOrError Package Description io.grpc The gRPC core public API.io.grpc.util 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.ConfigOrError Modifier and Type Method Description static NameResolver.ConfigOrError
NameResolver.ConfigOrError. fromConfig(Object config)
Returns aNameResolver.ConfigOrError
for the successfully parsed config.static NameResolver.ConfigOrError
NameResolver.ConfigOrError. fromError(Status status)
Returns aNameResolver.ConfigOrError
for the failure to parse the config.NameResolver.ConfigOrError
NameResolver.ResolutionResult. getServiceConfig()
Gets the Service Config parsed byNameResolver.Args.getServiceConfigParser()
.NameResolver.ConfigOrError
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.ConfigOrError Modifier and Type Method Description NameResolver.ResolutionResult.Builder
NameResolver.ResolutionResult.Builder. setServiceConfig(NameResolver.ConfigOrError serviceConfig)
Sets the Service Config parsed byNameResolver.Args.getServiceConfigParser()
. -
Uses of NameResolver.ConfigOrError in io.grpc.util
Methods in io.grpc.util that return NameResolver.ConfigOrError Modifier and Type Method Description static 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.
-