public class AddressChannelFactory extends AbstractChannelFactory
GrpcChannelProperties that can be configured via
application properties. This class utilizes connection pooling and thus needs to be closed after
usage.| Constructor and Description |
|---|
AddressChannelFactory(GrpcChannelsProperties properties,
io.grpc.LoadBalancer.Factory loadBalancerFactory,
GlobalClientInterceptorRegistry globalClientInterceptorRegistry)
Creates a new AddressChannelFactory that will use the client name and the properties to resolve the grpc server
address.
|
close, configure, configureCompression, configureKeepAlive, configureLimits, configureSecurity, createChannel, createChannel, getPropertiesFor, newManagedChannelpublic AddressChannelFactory(GrpcChannelsProperties properties, io.grpc.LoadBalancer.Factory loadBalancerFactory, GlobalClientInterceptorRegistry globalClientInterceptorRegistry)
properties - The properties to use.loadBalancerFactory - The load balancer factory to use.globalClientInterceptorRegistry - The interceptor registry to use.