类 GrpcClientFactory
java.lang.Object
org.egolessness.destino.grpc.GrpcClientFactory
- 所有已实现的接口:
org.egolessness.destino.common.spi.RequestClientFactory
@SPI(priority=1)
public class GrpcClientFactory
extends Object
implements org.egolessness.destino.common.spi.RequestClientFactory
grpc client factory.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明org.egolessness.destino.common.enumeration.RequestChannelchannel()org.egolessness.destino.common.remote.RequestHighLevelClientcreateHighLevelClient(Collection<URI> uris) org.egolessness.destino.common.remote.RequestSimpleClientcreateSimpleClient(URI uri)
-
构造器详细资料
-
GrpcClientFactory
public GrpcClientFactory(org.egolessness.destino.common.properties.RequestProperties config)
-
-
方法详细资料
-
createSimpleClient
- 指定者:
createSimpleClient在接口中org.egolessness.destino.common.spi.RequestClientFactory
-
createHighLevelClient
public org.egolessness.destino.common.remote.RequestHighLevelClient createHighLevelClient(Collection<URI> uris) - 指定者:
createHighLevelClient在接口中org.egolessness.destino.common.spi.RequestClientFactory
-
channel
public org.egolessness.destino.common.enumeration.RequestChannel channel()- 指定者:
channel在接口中org.egolessness.destino.common.spi.RequestClientFactory
-