Package io.grpc.util
package io.grpc.util
Utilities with advanced features in the core layer that user can optionally use.
-
ClassDescriptionAdvancedTlsX509KeyManager is an
X509ExtendedKeyManagerthat allows users to configure advanced TLS features, such as private key and certificate chain reloading.Mainly used to avoid throwing IO Exceptions in java.io.Closeable.AdvancedTlsX509TrustManager is anX509ExtendedTrustManagerthat allows users to configure advanced TLS features, such as root certificate reloading and peer cert custom verification.Builds a newAdvancedTlsX509TrustManager.The verification mode when authenticating the peer certificate.Contains certificate/key PEM file utility method(s).A load balancer that gracefully swaps to a new lb policy.A newLoadBalancer.Helperused by health producer systems to build health notification chain, viaLoadBalancer.CreateSubchannelArgs.A base load balancing policy for those policies which has multiple children such as ClusterManager or the petiole policies.Endpoint is an optimization to quickly lookup and compare EquivalentAddressGroup address sets.Default implementation ofHandlerRegistry.Wraps a childLoadBalancerwhile monitoring for outlier backends and removing them from the use of the child LB.Tracks additional information about the endpoint needed for outlier detection.Tracks both successful and failed call counts.Maintains a mapping from endpoint (a set of addresses) to their trackers.The configuration forOutlierDetectionLoadBalancer.The configuration for failure percentage ejection.For building newOutlierDetectionLoadBalancer.OutlierDetectionLoadBalancerConfig.FailurePercentageEjectioninstances.The configuration for success rate ejection.Builds new instances ofOutlierDetectionLoadBalancer.OutlierDetectionLoadBalancerConfig.SuccessRateEjection.Implementations provide different ways of ejecting outlier addresses..This algorithm ejects addresses that don't maintain a required rate of successful calls.ALoadBalancerthat provides round-robin load-balancing over theEquivalentAddressGroups from theNameResolver.Provider for the "round_robin" balancing policy.A class that intercepts uncaught exceptions of typeStatusRuntimeExceptionand handles them by closing theServerCall, and transmitting the exception's status and metadata to the client.AServerCallthat wraps around a non thread safe delegate and provides thread safe access by serializing everything on an executor.