Class RandomConnectionPool

All Implemented Interfaces:
Closeable, AutoCloseable, ConnectionPool, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Sweeper.Sweepable

@ManagedObject public class RandomConnectionPool extends MultiplexConnectionPool

A ConnectionPool that provides connections randomly among the ones that are available.

  • Constructor Details

    • RandomConnectionPool

      public RandomConnectionPool(HttpDestination destination, int maxConnections, Callback requester, int maxMultiplex)