openlsd.web.extension.LSDWebClientGetPool Class Reference

Collaboration diagram for openlsd.web.extension.LSDWebClientGetPool:

Collaboration graph
[legend]

List of all members.


Detailed Description

Cache Pools for LSD Web Client for Get
Author:
Frederic BREGIER LGPL 2007

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

Constructor & Destructor Documentation

openlsd.web.extension.LSDWebClientGetPool.LSDWebClientGetPool (  ) 

Constructor


Member Function Documentation

LSDWebClientGet openlsd.web.extension.LSDWebClientGetPool.open ( LSDDbIpPort  ipport  ) 

Get an existing connection or opening a new one

Parameters:
ipport 
Returns:
the connection

void openlsd.web.extension.LSDWebClientGetPool.close ( LSDWebClientGet  session  ) 

Returns the session in the pool

Parameters:
session 

int openlsd.web.extension.LSDWebClientGetPool.getNbInPool (  ) 

Returns the number of sessions in the pool

Returns:
the number of sessions

int openlsd.web.extension.LSDWebClientGetPool.checkNbInPool (  ) 

Returns the number of active sessions in the pool

Returns:
the number of active sessions

void openlsd.web.extension.LSDWebClientGetPool.closeAll (  ) 

Close all connections


Member Data Documentation

Hash map of all PoolConnection based on IpPort Id

The associated Get Client Session Handler


The documentation for this class was generated from the following file: