com.waveset.adapter
Class HostConnectionPool
java.lang.Object
com.waveset.adapter.HostConnectionPool
- public class HostConnectionPool
- extends java.lang.Object
Pools HostAccess connections to reduce the number of host authentications
and avoid simultaneous logins of the same account.
Note: when we go to
a multiple server model, this pool will not prevent 2 different Lighthouse
servers from logging into the same host with the same user ID at the same
time.
Due to the above, this has been class has been deprecated. Use HostConnPool
instead. It supports server affinity and multiple connections per admin if
the mainframe system can support them.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
code_id
public static final java.lang.String code_id
- See Also:
- Constant Field Values
_trace
protected static Trace _trace
reapConnections
public void reapConnections()
closeConnections
public void closeConnections()
shutdown
public void shutdown()
getPoolStatistics
public static java.lang.String getPoolStatistics()
getConnection
public static HostAccess getConnection(HostAccessLogin haLogin)
throws java.lang.Exception
- Deprecated. use HostConnPool instead of HostConnectionPool
- Throws:
java.lang.Exception
releaseConnection
public static void releaseConnection(HostAccess hostAccess)
- Deprecated. use HostConnPool instead of HostConnectionPool