Package com.eventstore.dbclient
Class EventStoreDBClusterClient
- java.lang.Object
-
- com.eventstore.dbclient.EventStoreDBClusterClient
-
- All Implemented Interfaces:
GrpcClient
public class EventStoreDBClusterClient extends java.lang.Object implements GrpcClient
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A> java.util.concurrent.CompletableFuture<A>run(java.util.function.Function<io.grpc.ManagedChannel,java.util.concurrent.CompletableFuture<A>> action)voidshutdown()
-
-
-
Constructor Detail
-
EventStoreDBClusterClient
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)
-
-
Method Detail
-
run
public <A> java.util.concurrent.CompletableFuture<A> run(java.util.function.Function<io.grpc.ManagedChannel,java.util.concurrent.CompletableFuture<A>> action)
- Specified by:
runin interfaceGrpcClient
-
shutdown
public void shutdown() throws java.lang.InterruptedException- Specified by:
shutdownin interfaceGrpcClient- Throws:
java.lang.InterruptedException
-
-