Package com.tietoenator.trip.jxp.pool

# Class TdbWebConnectionPool

java.lang.Object
com.tietoenator.trip.jxp.pool.TdbConnectionPool
com.tietoenator.trip.jxp.pool.TdbWebConnectionPool

public class TdbWebConnectionPool extends TdbConnectionPool
Connection pool for web sessions

- ## Field Summary

  ### Fields inherited from class com.tietoenator.trip.jxp.pool.TdbConnectionPool

  `INFINITE_TIMEOUT`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TdbWebConnectionPool(String server, int port, String inifile, int timeout, String username, String password, TdbLanguage lang, int stepping)`
  Constructor -- setup the session pool with full web parameters
  `TdbWebConnectionPool(String server, int port, String username, String password, TdbLanguage lang, int stepping)`
  Constructor -- setup the session pool with minimal web parameters

- ## Method Summary

  ### Methods inherited from class com.tietoenator.trip.jxp.pool.TdbConnectionPool

  `acquire, acquire, close, getActivityLog, getIdleTimeout, getIsolateSessions, getLimit, getMinIdle, getPoolInitializer, getPurgeInterval, getRestoreDelay, getRestoreRetries, getSize, isClosed, reserve, setActivityLog, setIdleTimeout, setIsolateSessions, setLimit, setMinIdle, setPoolInitializer, setPurgeInterval, setRestoreDelay, setRestoreRetries`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TdbWebConnectionPool

    public TdbWebConnectionPool(String server, int port, String username, String password, TdbLanguage lang, int stepping) throws TdbException
    Constructor -- setup the session pool with minimal web parameters
    Parameters:
      `server` - The name or IP address of the web server
      `port` - The port number on which the web server is running
      `username` - The name of the user that every session in this pool will adopt
      `password` - The password of the user that every session in this pool will adopt
      `lang` - CCL dialect to use within the pool
      `stepping` - The stepping of the pool, i.e. how many sessions will be created at a time
    Throws:
      `TdbException`

  - ### TdbWebConnectionPool

    public TdbWebConnectionPool(String server, int port, String inifile, int timeout, String username, String password, TdbLanguage lang, int stepping) throws TdbException
    Constructor -- setup the session pool with full web parameters
    Parameters:
      `server` - The name or IP address of the web server
      `port` - The port number on which the web is running
      `inifile` - The name of a host initialization file run for each session
      `timeout` - The timeout (in ms) for each session
      `username` - The name of the user that every session in this pool will adopt
      `password` - The password of the user that every session in this pool will adopt
      `lang` - CCL dialect to use within the pool
      `stepping` - The stepping of the pool, i.e. how many sessions will be created at a time
    Throws:
      `TdbException`