Function
to operate within the scope of a Connection.
Callback functions operate on a provided connection and must not
close the connection as the connections may be pooled or be
subject to other kinds of resource management.
Callback functions are responsible for creating a
org. that defines the scope of how
long the allocated Connection is valid. Connections are
released after the publisher terminates.
This serves as a base interface for DatabaseClient.
DatabaseClient
| Modifier and Type | Method and Description |
|---|---|
| public <T> Mono | Returns: the resultingMonothe callback object that specifies the connection action action)Execute a callback |
| public <T> Flux | Returns: the resultingFluxthe callback object that specifies the connection action action)Execute a callback |
| inConnection | back to summary |
|---|---|
| public <T> Mono Execute a callback
| |
| inConnectionMany | back to summary |
|---|---|
| public <T> Flux Execute a callback
| |