Interface ReactiveConnectionPool

    • Method Detail

      • getProxyConnection

        ReactiveConnection getProxyConnection()
        Obtain a lazily-initializing reactive connection. The actual connection might be made when the returned instance if ReactiveConnection is first used.
      • getProxyConnection

        ReactiveConnection getProxyConnection​(String tenantId)
        Obtain a lazily-initializing reactive connection for the given tenant id. The actual connection might be made when the returned instance if ReactiveConnection is first used.
      • getCloseFuture

        CompletionStage<Void> getCloseFuture()
        The shutdown of the pool is actually asynchronous but the core service registry won't return the CompletionStage. If you need to wait for the underlying pool to be closed, after closing the SessionFactory you can get the CompletionStage instance from this getter.