protected static final class PooledConnectionProvider.PoolFactory<T extends Connection> extends Object
Modifier and Type | Method and Description |
---|---|
long |
maxLifeTime() |
reactor.pool.InstrumentedPool<T> |
newPool(Publisher<T> allocator,
reactor.pool.AllocationStrategy allocationStrategy,
Function<T,Publisher<Void>> destroyHandler,
BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate) |
reactor.pool.InstrumentedPool<T> |
newPool(Publisher<T> allocator,
reactor.pool.AllocationStrategy allocationStrategy,
Function<T,Publisher<Void>> destroyHandler,
BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate,
Function<reactor.pool.PoolConfig<T>,reactor.pool.InstrumentedPool<T>> poolFactory) |
String |
toString() |
public reactor.pool.InstrumentedPool<T> newPool(Publisher<T> allocator, @Nullable reactor.pool.AllocationStrategy allocationStrategy, Function<T,Publisher<Void>> destroyHandler, BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate)
public reactor.pool.InstrumentedPool<T> newPool(Publisher<T> allocator, @Nullable reactor.pool.AllocationStrategy allocationStrategy, Function<T,Publisher<Void>> destroyHandler, BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate, Function<reactor.pool.PoolConfig<T>,reactor.pool.InstrumentedPool<T>> poolFactory)
public long maxLifeTime()