Class PooledConnectionFactory

    • Field Detail

      • maxFreeConnections

        int maxFreeConnections
        The maximum number of free connections for an identity in the pool.
      • createdCnx

        int createdCnx
      • allocatedcnx

        int allocatedcnx
      • freedCnx

        int freedCnx
      • maxUsedCnx

        int maxUsedCnx
    • Constructor Detail

      • PooledConnectionFactory

        public PooledConnectionFactory​(ConnectionFactory cf)
        Creates a new pool for the specified ConnectionFactory.
        Parameters:
        cf - The ConnectionFactory used to really create the connections.
      • PooledConnectionFactory

        public PooledConnectionFactory​(ConnectionFactory cf,
                                       int maxFreeConnections)
        Creates a new pool for the specified ConnectionFactory.
        Parameters:
        cf - The ConnectionFactory used to really create the connections.
        maxFreeConnections - The maximum number of free connections for an identity in the pool.