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