Class 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)  
      void shutdown()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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:
        run in interface GrpcClient
      • shutdown

        public void shutdown()
                      throws java.lang.InterruptedException
        Specified by:
        shutdown in interface GrpcClient
        Throws:
        java.lang.InterruptedException