@FunctionalInterface @Deprecated public interface ConnectionHandle
SimpleConnectionHandle
,
ConnectionHolder
Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Deprecated.
Fetch the R2DBC Connection that this handle refers to.
|
default void |
releaseConnection(Connection connection)
Deprecated.
Release the R2DBC Connection that this handle refers to.
|
Connection getConnection()
default void releaseConnection(Connection connection)
The default implementation is empty, assuming that the lifecycle of the connection is managed externally.
connection
- the R2DBC Connection to releaseCopyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.