Package reactor.netty.resources
Class PooledConnectionProvider.PoolFactory<T extends Connection>
java.lang.Object
reactor.netty.resources.PooledConnectionProvider.PoolFactory<T>
- Enclosing class:
- PooledConnectionProvider<T extends Connection>
protected static final class PooledConnectionProvider.PoolFactory<T extends Connection>
extends Object
-
Method Summary
Modifier and TypeMethodDescription@Nullable ConnectionProvider.AllocationStrategy<?>
long
long
reactor.pool.InstrumentedPool<T>
newPool
(Publisher<T> allocator, @Nullable reactor.pool.AllocationStrategy allocationStrategy, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> evictionPredicate) reactor.pool.InstrumentedPool<T>
newPool
(Publisher<T> allocator, @Nullable reactor.pool.AllocationStrategy allocationStrategy, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> defaultEvictionPredicate, Function<reactor.pool.PoolConfig<T>, reactor.pool.InstrumentedPool<T>> poolFactory) reactor.pool.InstrumentedPool<T>
newPool
(Publisher<T> allocator, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> evictionPredicate, reactor.pool.PoolMetricsRecorder poolMetricsRecorder) reactor.pool.InstrumentedPool<T>
newPool
(Publisher<T> allocator, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> defaultEvictionPredicate, reactor.pool.PoolMetricsRecorder poolMetricsRecorder, Function<reactor.pool.PoolConfig<T>, reactor.pool.InstrumentedPool<T>> poolFactory) toString()
-
Method Details
-
newPool
-
newPool
-
newPool
public reactor.pool.InstrumentedPool<T> newPool(Publisher<T> allocator, @Nullable reactor.pool.AllocationStrategy allocationStrategy, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> defaultEvictionPredicate, Function<reactor.pool.PoolConfig<T>, reactor.pool.InstrumentedPool<T>> poolFactory) -
newPool
public reactor.pool.InstrumentedPool<T> newPool(Publisher<T> allocator, Function<T, Publisher<Void>> destroyHandler, BiPredicate<T, reactor.pool.PooledRefMetadata> defaultEvictionPredicate, reactor.pool.PoolMetricsRecorder poolMetricsRecorder, Function<reactor.pool.PoolConfig<T>, reactor.pool.InstrumentedPool<T>> poolFactory) -
allocationStrategy
-
maxIdleTime
public long maxIdleTime() -
maxLifeTime
public long maxLifeTime() -
toString
-