Class DuplexConnectionPool

All Implemented Interfaces:
ConnectionPool, Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle, Sweeper.Sweepable
Direct Known Subclasses:
ValidatingConnectionPool

@ManagedObject public class DuplexConnectionPool extends AbstractConnectionPool

A connection pool that provides connections for both directions of communication. This pool uses a concurrent pool with FIRST strategy to manage connections efficiently.

  • Constructor Details

    • DuplexConnectionPool

      public DuplexConnectionPool(Destination destination, int maxConnections)
      Creates a duplex connection pool for the given destination.
      Parameters:
      destination - the destination for which this pool provides connections
      maxConnections - the maximum number of connections in the pool