public class EventStoreDBClusterClient extends java.lang.Object implements GrpcClient
| Constructor and Description |
|---|
EventStoreDBClusterClient(java.util.List<java.net.InetSocketAddress> seedNodes,
Endpoint domainEndpoint,
NodePreference nodePreference,
Timeouts timeouts,
io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext,
long keepAliveTimeoutInMs,
long keepAliveIntervalInMs) |
| Modifier and Type | Method and Description |
|---|---|
<A> java.util.concurrent.CompletableFuture<A> |
run(java.util.function.Function<io.grpc.ManagedChannel,java.util.concurrent.CompletableFuture<A>> action) |
void |
shutdown() |
public EventStoreDBClusterClient(java.util.List<java.net.InetSocketAddress> seedNodes,
Endpoint domainEndpoint,
NodePreference nodePreference,
Timeouts timeouts,
io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext,
long keepAliveTimeoutInMs,
long keepAliveIntervalInMs)
public <A> java.util.concurrent.CompletableFuture<A> run(java.util.function.Function<io.grpc.ManagedChannel,java.util.concurrent.CompletableFuture<A>> action)
run in interface GrpcClientpublic void shutdown()
throws java.lang.InterruptedException
shutdown in interface GrpcClientjava.lang.InterruptedException