## Uses of Class
com.pivotal.gemfirexd.internal.client.ClientPooledConnection

Packages that use ClientPooledConnection
Package | Description
--- | ---
com.pivotal.gemfirexd.internal.client |
com.pivotal.gemfirexd.internal.client.am |
com.pivotal.gemfirexd.internal.client.net |

### Uses of ClientPooledConnection in com.pivotal.gemfirexd.internal.client

Subclasses of ClientPooledConnection in com.pivotal.gemfirexd.internal.client
Modifier and Type | Class and Description
--- | ---
`class` | `ClientPooledConnection40` The class extends from the ClientPooledConnection class and contains implementations for the JDBC 4.0 specific methods in the javax.sql.PooledConnection interface.
`class` | `ClientXAConnection`
`class` | `ClientXAConnection40` jdbc4.0 implementation of XAConnection

### Uses of ClientPooledConnection in com.pivotal.gemfirexd.internal.client.am

Fields in com.pivotal.gemfirexd.internal.client.am declared as ClientPooledConnection
Modifier and Type | Field and Description
--- | ---
`protected ClientPooledConnection` | PreparedStatement.`pooledConnection_`

Methods in com.pivotal.gemfirexd.internal.client.am that return ClientPooledConnection
Modifier and Type | Method and Description
--- | ---
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` This method is used to return an instance of ClientPooledConnection (or ClientPooledConnection40) class which implements javax.sql.PooledConnection
`ClientPooledConnection` | ClientJDBCObjectFactory.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` This method is used to return an instance of ClientPooledConnection(or ClientPooledConnection40) class which implements javax.sql.PooledConnection

Methods in com.pivotal.gemfirexd.internal.client.am with parameters of type ClientPooledConnection
Modifier and Type | Method and Description
--- | ---
`LogicalConnection` | ClientJDBCObjectFactory.`newCachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Returns an instance of a `CachingLogicalConnection`, which provides caching of prepared statements.
`CallableStatement` | ClientJDBCObjectFactory.`newCallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement.
`LogicalConnection` | ClientJDBCObjectFactory.`newLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)` Returns an instance of LogicalConnection.

`Connection`

ClientJDBCObjectFactory.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This method returns an instance of NetConnection (or NetConnection40) class which extends from com.pivotal.gemfirexd.internal.client.am.Connection this implements the java.sql.Connection interface This method is used to pass the ClientPooledConnection object to the NetConnection object which can then be used to pass the statement events back to the user

`PreparedStatement`

ClientJDBCObjectFactory.`newPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)`
Returns an instance of PreparedStatement (or PreparedStatement40) which implements java.sql.PreparedStatement It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed

`PreparedStatement`

ClientJDBCObjectFactory.`newPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)`
This method returns an instance of PreparedStatement (or PreparedStatement40) which implements java.sql.PreparedStatement It has the ClientPooledConnection as one of its parameters this is used to raise the Statement Events when the prepared statement is closed

Constructors in com.pivotal.gemfirexd.internal.client.am with parameters of type ClientPooledConnection
Constructor and Description
`CachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Creates a new logical connection which caches prepared statements.
`CachingLogicalConnection40(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Creates a new logical connection which caches prepared statements.
`CallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Common constructor for jdbc 2 callable statements with scroll attributes.
`CallableStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Calls the superclass constructor and passes the parameters
`LogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)`
`LogicalConnection40(Connection physicalConnection, ClientPooledConnection pooledConnection)`
`PreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` The PreparedStatementConstructor used for jdbc 2 prepared statements with scroll attributes.
`PreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` The PreparedStatement constructor used for JDBC 2 positioned update statements.
`PreparedStatement40(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` The PreparedStatementConstructor used for jdbc 4 prepared statements with scroll attributes.
`PreparedStatement40(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` The PreparedStatement used for JDBC 4 positioned update statements.
`SingleHopPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)`
`SingleHopPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)`

### Uses of ClientPooledConnection in com.pivotal.gemfirexd.internal.client.net

Methods in com.pivotal.gemfirexd.internal.client.net that return ClientPooledConnection
Modifier and Type | Method and Description
--- | ---
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40
`ClientPooledConnection` | ClientJDBCObjectFactoryImpl40.`newClientPooledConnection(ClientBaseDataSource ds, LogWriter logWriter, String user, String password, int rmId)` Returns an instance of com.pivotal.gemfirexd.internal.client.ClientPooledConnection40

Methods in com.pivotal.gemfirexd.internal.client.net with parameters of type ClientPooledConnection
Modifier and Type | Method and Description
--- | ---
`protected NetConnection` | NetXAConnection.`createNetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Creates NetConnection for the supported version of jdbc.
`LogicalConnection` | ClientJDBCObjectFactoryImpl40.`newCachingLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection, JDBCStatementCache stmtCache)` Returns an instance of a `CachingLogicalConnection`, which provides caching of prepared statements.
`CallableStatement` | ClientJDBCObjectFactoryImpl40.`newCallableStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement.
`LogicalConnection` | ClientJDBCObjectFactoryImpl40.`newLogicalConnection(Connection physicalConnection, ClientPooledConnection pooledConnection)` Returns an instance of LogicalConnection.
`Connection` | ClientJDBCObjectFactoryImpl40.`newNetConnection(LogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.net.NetConnection.
`PreparedStatement` | ClientJDBCObjectFactoryImpl40.`newPreparedStatement(Agent agent, Connection connection, String sql, int type, int concurrency, int holdability, int autoGeneratedKeys, String[] columnNames, int[] columnIndexes, ClientPooledConnection cpc)` This method returns an instance of PreparedStatement which implements java.sql.PreparedStatement.
`PreparedStatement` | ClientJDBCObjectFactoryImpl40.`newPreparedStatement(Agent agent, Connection connection, String sql, Section section, ClientPooledConnection cpc)` Returns an instance of com.pivotal.gemfirexd.internal.client.am.CallableStatement40

Constructors in com.pivotal.gemfirexd.internal.client.net with parameters of type ClientPooledConnection
Constructor and Description

`NetConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)`
This constructor is called from the ClientPooledConnection object to enable the NetConnection to pass `this` on to the associated prepared statement object thus enabling the prepared statement object to inturn raise the statement events to the ClientPooledConnection object

`NetConnection40(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` The constructor for the NetConnection40 class which contains implementations of JDBC 4.0 specific methods in the java.sql.Connection interface.
`NetXAConnection(NetLogWriter netLogWriter, String user, String password, ClientBaseDataSource dataSource, int rmId, boolean isXAConn, ClientPooledConnection cpc)` The construcor for the NetXAConnection.