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.ConfigOrErrorNameResolver.ConfigOrError. fromConfig(Object config)Returns aNameResolver.ConfigOrErrorfor the successfully parsed config.static NameResolver.ConfigOrErrorNameResolver.ConfigOrError. fromError(Status status)Returns aNameResolver.ConfigOrErrorfor the failure to parse the config.NameResolver.ConfigOrErrorNameResolver.ResolutionResult. getServiceConfig()Gets the Service Config parsed byNameResolver.Args.getServiceConfigParser().NameResolver.ConfigOrErrorLoadBalancerProvider. parseLoadBalancingPolicyConfig(Map<String,?> rawLoadBalancingPolicyConfig)Parses the config for the Load Balancing policy unpacked from the service config.abstract NameResolver.ConfigOrErrorNameResolver.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.BuilderNameResolver.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.ConfigOrErrorGracefulSwitchLoadBalancer. parseLoadBalancingPolicyConfig(List<Map<String,?>> loadBalancingConfigs)Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.static NameResolver.ConfigOrErrorGracefulSwitchLoadBalancer. parseLoadBalancingPolicyConfig(List<Map<String,?>> loadBalancingConfigs, LoadBalancerRegistry lbRegistry)Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.
-