public class RidcSessionPool extends Object
Constructor and Description |
---|
RidcSessionPool(RidcConnection ridcConnection) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose all sessions in the pool.
|
String |
getConnectionName()
Gets the JNDI name of the connection, when available
|
static int |
getCurrentThreadSessionCount()
Gets the number of sessions held by the current thread.
|
RidcSession |
getSession() |
void |
release(RidcSession session)
Returns a RIDC session to the pool
|
String |
toString() |
public RidcSessionPool(RidcConnection ridcConnection)
ridcConnection
- public RidcSession getSession()
public String getConnectionName()
public void release(RidcSession session)
session
- The RIDC sessionpublic void dispose()
public static int getCurrentThreadSessionCount()