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> 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) |
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, Function<T,Publisher<Void>> destroyHandler, BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate, reactor.pool.PoolMetricsRecorder poolMetricsRecorder)
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)
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)
@Nullable public ConnectionProvider.AllocationStrategy<?> allocationStrategy()
public long maxIdleTime()
public long maxLifeTime()