public static interface GrpcClientBuilder.MultiClientBuilder
Modifier and Type | Method and Description |
---|---|
<Client extends GrpcClient<?>,Filter extends FilterableClient,FilterableClient extends ListenableAsyncCloseable & java.lang.AutoCloseable,FilterFactory extends GrpcClientFilterFactory<Filter,FilterableClient>> |
build(GrpcClientFactory<Client,?,Filter,FilterableClient,FilterFactory> clientFactory)
Builds a gRPC client.
|
<BlockingClient extends BlockingGrpcClient<?>,Filter extends FilterableClient,FilterableClient extends ListenableAsyncCloseable & java.lang.AutoCloseable,FilterFactory extends GrpcClientFilterFactory<Filter,FilterableClient>> |
buildBlocking(GrpcClientFactory<?,BlockingClient,Filter,FilterableClient,FilterFactory> clientFactory)
Builds a blocking gRPC client.
|
<Client extends GrpcClient<?>,Filter extends FilterableClient,FilterableClient extends ListenableAsyncCloseable & java.lang.AutoCloseable,FilterFactory extends GrpcClientFilterFactory<Filter,FilterableClient>> Client build(GrpcClientFactory<Client,?,Filter,FilterableClient,FilterFactory> clientFactory)
Client
- gRPC service that any client built
from this factory represents.Filter
- Type for client filterFilterableClient
- Type of filterable client.FilterFactory
- Type of GrpcClientFilterFactory
clientFactory
- GrpcClientFactory
to use.<BlockingClient extends BlockingGrpcClient<?>,Filter extends FilterableClient,FilterableClient extends ListenableAsyncCloseable & java.lang.AutoCloseable,FilterFactory extends GrpcClientFilterFactory<Filter,FilterableClient>> BlockingClient buildBlocking(GrpcClientFactory<?,BlockingClient,Filter,FilterableClient,FilterFactory> clientFactory)
BlockingClient
- Blocking gRPC service that
any client built from this builder represents.Filter
- Type for client filterFilterableClient
- Type of filterable client.FilterFactory
- Type of GrpcClientFilterFactory
clientFactory
- GrpcClientFactory
to use.