Uses of Class
io.grpc.NameResolver.ConfigOrError
-
Packages that use NameResolver.ConfigOrError Package Description io.grpc The gRPC core public API.io.grpc.grpclb io.grpc.internal Interfaces and implementations that are internal to gRPC.io.grpc.protobuf.services.internal io.grpc.rls io.grpc.util Utilities with advanced features in the core layer that user can optionally use. -
-
Uses of NameResolver.ConfigOrError in io.grpc
Fields in io.grpc declared as NameResolver.ConfigOrError Modifier and Type Field Description private NameResolver.ConfigOrErrorNameResolver.ResolutionResult.Builder. serviceConfigprivate NameResolver.ConfigOrErrorNameResolver.ResolutionResult. serviceConfigprivate static NameResolver.ConfigOrErrorLoadBalancerProvider. UNKNOWN_CONFIGA sentinel value indicating that service config is not supported.Methods in io.grpc that return NameResolver.ConfigOrError Modifier and Type Method Description static NameResolver.ConfigOrErrorNameResolver.ConfigOrError. fromConfig(java.lang.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(java.util.Map<java.lang.String,?> rawLoadBalancingPolicyConfig)Parses the config for the Load Balancing policy unpacked from the service config.abstract NameResolver.ConfigOrErrorNameResolver.ServiceConfigParser. parseServiceConfig(java.util.Map<java.lang.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().Constructors in io.grpc with parameters of type NameResolver.ConfigOrError Constructor Description ResolutionResult(StatusOr<java.util.List<EquivalentAddressGroup>> addressesOrError, Attributes attributes, NameResolver.ConfigOrError serviceConfig) -
Uses of NameResolver.ConfigOrError in io.grpc.grpclb
Methods in io.grpc.grpclb that return NameResolver.ConfigOrError Modifier and Type Method Description (package private) NameResolver.ConfigOrErrorGrpclbLoadBalancerProvider. parseLoadBalancingConfigPolicyInternal(java.util.Map<java.lang.String,?> rawLoadBalancingPolicyConfig)NameResolver.ConfigOrErrorGrpclbLoadBalancerProvider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawLoadBalancingConfigPolicy) -
Uses of NameResolver.ConfigOrError in io.grpc.internal
Fields in io.grpc.internal declared as NameResolver.ConfigOrError Modifier and Type Field Description private NameResolver.ConfigOrErrorDnsNameResolver.InternalResolutionResult. configprivate NameResolver.ConfigOrErrorServiceConfigState. currentServiceConfigOrErrorprivate NameResolver.ConfigOrErrorServiceConfigState. defaultServiceConfigMethods in io.grpc.internal that return NameResolver.ConfigOrError Modifier and Type Method Description (package private) NameResolver.ConfigOrErrorServiceConfigState. getCurrent()Gets the current service config or error.(package private) NameResolver.ConfigOrErrorAutoConfiguredLoadBalancerFactory. parseLoadBalancerPolicy(java.util.Map<java.lang.String,?> serviceConfig)Parses first available LoadBalancer policy from service config.NameResolver.ConfigOrErrorPickFirstLoadBalancerProvider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawLbPolicyConfig)(package private) static NameResolver.ConfigOrErrorDnsNameResolver. parseServiceConfig(java.util.List<java.lang.String> rawTxtRecords, java.util.Random random, java.lang.String localHostname)NameResolver.ConfigOrErrorScParser. parseServiceConfig(java.util.Map<java.lang.String,?> rawServiceConfig)private NameResolver.ConfigOrErrorDnsNameResolver. resolveServiceConfig()static NameResolver.ConfigOrErrorServiceConfigUtil. selectLbPolicyFromList(java.util.List<ServiceConfigUtil.LbConfig> lbConfigs, LoadBalancerRegistry lbRegistry)Parses and selects a load balancing policy from a non-empty list of raw configs.Methods in io.grpc.internal with parameters of type NameResolver.ConfigOrError Modifier and Type Method Description (package private) voidServiceConfigState. update(NameResolver.ConfigOrError coe) -
Uses of NameResolver.ConfigOrError in io.grpc.protobuf.services.internal
Methods in io.grpc.protobuf.services.internal that return NameResolver.ConfigOrError Modifier and Type Method Description NameResolver.ConfigOrErrorHealthCheckingRoundRobinLoadBalancerProvider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawLoadBalancingPolicyConfig) -
Uses of NameResolver.ConfigOrError in io.grpc.rls
Methods in io.grpc.rls that return NameResolver.ConfigOrError Modifier and Type Method Description NameResolver.ConfigOrErrorRlsLoadBalancerProvider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawLoadBalancingConfigPolicy) -
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(java.util.List<java.util.Map<java.lang.String,?>> loadBalancingConfigs)Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.static NameResolver.ConfigOrErrorGracefulSwitchLoadBalancer. parseLoadBalancingPolicyConfig(java.util.List<java.util.Map<java.lang.String,?>> loadBalancingConfigs, LoadBalancerRegistry lbRegistry)Provided a JSON list of LoadBalancingConfigs, parse it into a config to pass to GracefulSwitch.NameResolver.ConfigOrErrorOutlierDetectionLoadBalancerProvider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawConfig)NameResolver.ConfigOrErrorSecretRoundRobinLoadBalancerProvider.Provider. parseLoadBalancingPolicyConfig(java.util.Map<java.lang.String,?> rawLoadBalancingPolicyConfig)private NameResolver.ConfigOrErrorOutlierDetectionLoadBalancerProvider. parseLoadBalancingPolicyConfigInternal(java.util.Map<java.lang.String,?> rawConfig)
-