Interface ReactiveConnection

  • All Known Implementing Classes:
    BatchingConnection

    @Incubating
    public interface ReactiveConnection
    Abstracts over reactive database connections, defining operations that allow queries to be executed asynchronously via CompletionStage.

    It is illegal to perform two non-blocking operations concurrently with a single ReactiveConnection. Instead, the second operation must be chained on completion of the first operation. This restriction might be relaxed in future, and is due to the implementation of the ProxyConnection.

    See Also:
    ReactiveConnectionPool