protected static final class PooledConnectionProvider.PoolFactory<T extends Connection> extends Object
Modifier and Type | Method and Description |
---|---|
ConnectionProvider.AllocationStrategy<?> |
allocationStrategy() |
long |
maxIdleTime() |
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)
@Nullable public ConnectionProvider.AllocationStrategy<?> allocationStrategy()
public long maxIdleTime()
public long maxLifeTime()