Package io.grpc.util
package io.grpc.util
Utilities with advanced features in the core layer that user can optionally use.
-
ClassDescriptionAdvancedTlsX509KeyManager is an
X509ExtendedKeyManager
that 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 anX509ExtendedTrustManager
that 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.Helper
used 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 childLoadBalancer
while monitoring for outlier backends and removing them from the use of the child LB.The configuration forOutlierDetectionLoadBalancer
.The configuration for failure percentage ejection.For building newOutlierDetectionLoadBalancer.OutlierDetectionLoadBalancerConfig.FailurePercentageEjection
instances.The configuration for success rate ejection.Builds new instances ofOutlierDetectionLoadBalancer.OutlierDetectionLoadBalancerConfig.SuccessRateEjection
.A class that intercepts uncaught exceptions of typeStatusRuntimeException
and handles them by closing theServerCall
, and transmitting the exception's status and metadata to the client.