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 Details

    • 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> evictionPredicate)
    • newPool

      public reactor.pool.InstrumentedPool<T> newPool(Publisher<T> allocator, Function<T,Publisher<Void>> destroyHandler, BiPredicate<T,reactor.pool.PooledRefMetadata> evictionPredicate, reactor.pool.PoolMetricsRecorder poolMetricsRecorder)
    • 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

      public @Nullable ConnectionProvider.AllocationStrategy<?> allocationStrategy()
    • maxIdleTime

      public long maxIdleTime()
    • maxLifeTime

      public long maxLifeTime()
    • toString

      public String toString()
      Overrides:
      toString in class Object