public class GrpcChannelFactoryFacede extends Object implements GrpcChannelFactory
| 构造器和说明 |
|---|
GrpcChannelFactoryFacede(org.springframework.context.ApplicationContext applicationContext,
GrpcClientPropertiesMap clientPropertiesMap,
GrpcChannelBuilderConfigurer channelBuilderConfigurer,
GrpcChannelConfigurer channelConfigurer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
io.grpc.ManagedChannel |
createChannel(String name,
List<io.grpc.ClientInterceptor> interceptors) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateChannelpublic GrpcChannelFactoryFacede(org.springframework.context.ApplicationContext applicationContext,
GrpcClientPropertiesMap clientPropertiesMap,
GrpcChannelBuilderConfigurer channelBuilderConfigurer,
GrpcChannelConfigurer channelConfigurer)
public io.grpc.ManagedChannel createChannel(String name, List<io.grpc.ClientInterceptor> interceptors)
createChannel 在接口中 GrpcChannelFactorypublic void close()
close 在接口中 GrpcChannelFactoryclose 在接口中 AutoCloseableCopyright © 2019 Nity. All rights reserved.