
Public Member Functions | |
| LSDWebClientGetPool () | |
| LSDWebClientGet | open (LSDDbIpPort ipport) |
| void | close (LSDWebClientGet session) |
| int | getNbInPool () |
| int | checkNbInPool () |
| void | closeAll () |
Public Attributes | |
| ConcurrentHashMap< Long, LSDWebPoolConnection > | hashMapPoolConnection = null |
Private Attributes | |
| LSDWebClientGetSessionHandler | lwcgsh = null |
| openlsd.web.extension.LSDWebClientGetPool.LSDWebClientGetPool | ( | ) |
Constructor
| LSDWebClientGet openlsd.web.extension.LSDWebClientGetPool.open | ( | LSDDbIpPort | ipport | ) |
Get an existing connection or opening a new one
| ipport |
| void openlsd.web.extension.LSDWebClientGetPool.close | ( | LSDWebClientGet | session | ) |
Returns the session in the pool
| session |
| int openlsd.web.extension.LSDWebClientGetPool.getNbInPool | ( | ) |
Returns the number of sessions in the pool
| int openlsd.web.extension.LSDWebClientGetPool.checkNbInPool | ( | ) |
Returns the number of active sessions in the pool
| void openlsd.web.extension.LSDWebClientGetPool.closeAll | ( | ) |
Close all connections
| ConcurrentHashMap<Long, LSDWebPoolConnection> openlsd.web.extension.LSDWebClientGetPool.hashMapPoolConnection = null |
Hash map of all PoolConnection based on IpPort Id
The associated Get Client Session Handler