Package com.tietoenator.trip.jxp.pool
Class TdbTripNetConnectionPool
java.lang.Object
com.tietoenator.trip.jxp.pool.TdbConnectionPool
com.tietoenator.trip.jxp.pool.TdbTripNetConnectionPool
Connection pool for TRIPnet sessions
-
Field Summary
Fields inherited from class com.tietoenator.trip.jxp.pool.TdbConnectionPool
INFINITE_TIMEOUT
-
Constructor Summary
ConstructorsConstructorDescriptionTdbTripNetConnectionPool
(String server, int port, String inifile, int timeout, String username, String password, TdbLanguage lang, int stepping) Constructor -- setup the session pool with full TRIPnet parametersTdbTripNetConnectionPool
(String server, int port, String username, String password, TdbLanguage lang, int stepping) Constructor -- setup the session pool with minimal TRIPnet 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
-
Constructor Details
-
TdbTripNetConnectionPool
public TdbTripNetConnectionPool(String server, int port, String username, String password, TdbLanguage lang, int stepping) throws TdbException Constructor -- setup the session pool with minimal TRIPnet parameters- Parameters:
server
- The name or IP address of the TRIPnet serverport
- The port number on which the TRIPserver is runningusername
- The name of the user that every session in this pool will adoptpassword
- The password of the user that every session in this pool will adoptlang
- CCL dialect to use within the poolstepping
- The stepping of the pool, i.e. how many sessions will be created at a time- Throws:
TdbException
-
TdbTripNetConnectionPool
public TdbTripNetConnectionPool(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 TRIPnet parameters- Parameters:
server
- The name or IP address of the TRIPnet serverport
- The port number on which the TRIPserver is runninginifile
- The name of a host initialization file run for each sessiontimeout
- The timeout (in ms) for each sessionusername
- The name of the user that every session in this pool will adoptpassword
- The password of the user that every session in this pool will adoptlang
- CCL dialect to use within the poolstepping
- The stepping of the pool, i.e. how many sessions will be created at a time- Throws:
TdbException
-