类 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.
  • 构造器详细资料

    • GrpcClientFactory

      public GrpcClientFactory(org.egolessness.destino.common.properties.RequestProperties config)
  • 方法详细资料

    • createSimpleClient

      public org.egolessness.destino.common.remote.RequestSimpleClient createSimpleClient(URI uri)
      指定者:
      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