Class SingleNodeEventStoreDBConnection

    • Constructor Summary

      Constructors 
      Constructor Description
      SingleNodeEventStoreDBConnection​(java.lang.String host, int port, Timeouts timeouts, io.grpc.netty.shaded.io.netty.handler.ssl.SslContext context)  
    • 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

      • SingleNodeEventStoreDBConnection

        public SingleNodeEventStoreDBConnection​(java.lang.String host,
                                                int port,
                                                Timeouts timeouts,
                                                io.grpc.netty.shaded.io.netty.handler.ssl.SslContext context)
    • 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 EventStoreDBConnection
      • shutdown

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