|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jmeter.protocol.jdbc.util.JMeter19ConnectionPool
Field Summary | |
static String |
CONNECTIONS
|
static String |
MAXUSE
|
Constructor Summary | |
JMeter19ConnectionPool(DBKey key,
Map properties)
|
Method Summary | |
void |
close()
Closes out this object and returns resources to the system. |
Connection |
getConnection()
Rents out a database connection object. |
Connection |
newConnection(DBKey key)
Returns a new java.sql.Connection object. |
void |
returnConnection(Connection c)
Releases a connection back to the pool. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String CONNECTIONS
public static final String MAXUSE
Constructor Detail |
public JMeter19ConnectionPool(DBKey key, Map properties) throws ConnectionPoolException
Method Detail |
public Connection getConnection() throws ConnectionPoolException
getConnection
in interface ConnectionPool
ConnectionPoolException
public void returnConnection(Connection c)
returnConnection
in interface ConnectionPool
c
- Connection object being returnedpublic Connection newConnection(DBKey key) throws SQLException
SQLException
public void close()
close
in interface ConnectionPool
|
Apache JMeter 2.0.1.20050615 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |