|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object openlsd.web.extension.LSDWebClientGetPool
public class LSDWebClientGetPool
Cache Pools for LSD Web Client for Get
Field Summary | |
---|---|
java.util.concurrent.ConcurrentHashMap<java.lang.Long,LSDWebPoolConnection> |
hashMapPoolConnection
Hash map of all PoolConnection based on IpPort Id |
Constructor Summary | |
---|---|
LSDWebClientGetPool()
Constructor |
Method Summary | |
---|---|
int |
checkNbInPool()
Returns the number of active sessions in the pool |
void |
close(LSDWebClientGet session)
Returns the session in the pool |
void |
closeAll()
Close all connections |
int |
getNbInPool()
Returns the number of sessions in the pool |
LSDWebClientGet |
open(LSDDbIpPort ipport)
Get an existing connection or opening a new one |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.util.concurrent.ConcurrentHashMap<java.lang.Long,LSDWebPoolConnection> hashMapPoolConnection
Constructor Detail |
---|
public LSDWebClientGetPool()
Method Detail |
---|
public LSDWebClientGet open(LSDDbIpPort ipport)
ipport
-
public void close(LSDWebClientGet session)
session
- public int getNbInPool()
public int checkNbInPool()
public void closeAll()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |