Mono
.See: Description
Interface | Description |
---|---|
AllocationStrategy |
A strategy guiding the
Pool on whether or not it is possible to invoke the resource allocator. |
InstrumentedPool<POOLABLE> |
An
InstrumentedPool is a Pool that exposes a few additional methods
around metrics. |
InstrumentedPool.PoolMetrics |
An object that can be used to get live information about a
Pool , suitable
for gauge metrics. |
Pool<POOLABLE> |
A reactive pool of objects.
|
PoolConfig<POOLABLE> |
A representation of the common configuration options of a
Pool . |
PooledRef<POOLABLE> |
An abstraction over an object in a
Pool , which holds the underlying POOLABLE object and allows one to
manually PooledRef.release() it to the pool or PooledRef.invalidate() it. |
PooledRefMetadata |
Metadata about a
PooledRef , which includes monotonic metrics like its age
(PooledRefMetadata.lifeTime() ), number of times it was reused (PooledRefMetadata.acquireCount() ), as well
as contextually changing metrics like the duration for which it has been idle in a pool
(PooledRefMetadata.idleTime() ). |
PoolMetricsRecorder |
An interface representing ways for
Pool to collect instrumentation data. |
Class | Description |
---|---|
DefaultPoolConfig<POOLABLE> |
A default
PoolConfig that can be extended to bear more configuration options
with access to a copy constructor for the basic options. |
PoolBuilder<T,CONF extends PoolConfig<T>> | |
SimpleDequePool<POOLABLE> |
The
SimpleDequePool is based on Deque for idle resources and pending Pool.acquire() Monos,
allowing both to be ordered either LIFO or FIFO. |
Exception | Description |
---|---|
PoolAcquirePendingLimitException |
A
RuntimeException that rejects a Pool.acquire() operation due to too
many similar operations being in a pending state waiting for resources to be released. |
PoolAcquireTimeoutException |
A specialized
TimeoutException that denotes that a Pool.acquire(Duration)
has timed out. |
PoolShutdownException |
Mono
.