public class AddressChannelFactory extends java.lang.Object implements GrpcChannelFactory
Constructor and Description |
---|
AddressChannelFactory(GrpcChannelsProperties properties,
io.grpc.LoadBalancer.Factory loadBalancerFactory,
GlobalClientInterceptorRegistry globalClientInterceptorRegistry) |
Modifier and Type | Method and Description |
---|---|
io.grpc.Channel |
createChannel(java.lang.String name) |
io.grpc.Channel |
createChannel(java.lang.String name,
java.util.List<io.grpc.ClientInterceptor> interceptors) |
public AddressChannelFactory(GrpcChannelsProperties properties, io.grpc.LoadBalancer.Factory loadBalancerFactory, GlobalClientInterceptorRegistry globalClientInterceptorRegistry)
public io.grpc.Channel createChannel(java.lang.String name)
createChannel
in interface GrpcChannelFactory
public io.grpc.Channel createChannel(java.lang.String name, java.util.List<io.grpc.ClientInterceptor> interceptors)
createChannel
in interface GrpcChannelFactory