| Modifier and Type | Method and Description |
|---|---|
| public Mono | |
| public Mono | |
| public PoolConfig | |
| public default void | dispose()
Implements reactor.
|
| public Mono | Returns: a Mono triggering the shutdown of the pool once subscribed.Returns a |
| public Mono | |
| public default <V> Flux | Returns: aFlux, each subscription to which represents an individual act of acquiring a pooled object,
processing it as declared in scopeFunction and automatically releasing itAcquire a |
| acquire | back to summary |
|---|---|
| public Mono Manually acquire a
This is typically the case when one needs to wrap the actual resource into a decorator version, where the reference
to the
The resulting
| |
| acquire | back to summary |
|---|---|
| public Mono Manually acquire a
The object is wrapped in a
This is typically the case when one needs to wrap the actual resource into a decorator version, where the reference
to the
The resulting
| |
| config | back to summary |
|---|---|
| public PoolConfig Return the pool's Implementation Note Starting at 1.0.x, implementors MUST return a configuration.
| |
| dispose | back to summary |
|---|---|
| public default void dispose() Implements reactor. Shutdown the pool by:
disposeLater() and Mono#block().
By default this is implemented as
| |
| disposeLater | back to summary |
|---|---|
| public Mono Returns a
If the pool has been already shut down, returns | |
| warmup | back to summary |
|---|---|
| public Mono Warms up the
Note that no work nor allocation is performed until the Implementations MAY include more behavior, but there is no restriction on the way this method is called by users (it should be possible to call it at any time, as many times as needed or not at all). API Note this API is intended to easily reach the minimum allocated size (see | |
| withPoolable | back to summary |
|---|---|
| public default <V> Flux Acquire a
This is typically useful when the resource (and its usage patterns) directly involve reactive APIs that can be
composed within the
The | |