Package reactor.pool
Interface InstrumentedPool<POOLABLE>
- All Superinterfaces:
Disposable,Pool<POOLABLE>
- All Known Implementing Classes:
GracefulShutdownInstrumentedPool,SimpleDequePool
An
InstrumentedPool is a Pool that exposes a few additional methods
around metrics.- Author:
- Simon Baslé
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceAn object that can be used to get live information about aPool, suitable for gauge metrics.Nested classes/interfaces inherited from interface reactor.core.Disposable
Disposable.Composite, Disposable.Swap -
Method Summary
Methods inherited from interface reactor.core.Disposable
isDisposedMethods inherited from interface reactor.pool.Pool
acquire, acquire, config, dispose, disposeLater, warmup, withPoolable
-
Method Details
-
metrics
InstrumentedPool.PoolMetrics metrics()- Returns:
- a
InstrumentedPool.PoolMetricsobject to be used to get live gauges about thePool
-