Uses of Class
org.apache.commons.dbcp2.PStmtKey
Packages that use PStmtKey
Package
Description
Database Connection Pool API.
This package contains one public class which is a
ConnectionPoolDataSource (CPDS) implementation that can be used to
adapt older Driver based JDBC implementations.-
Uses of PStmtKey in org.apache.commons.dbcp2
Fields in org.apache.commons.dbcp2 declared as PStmtKeyModifier and TypeFieldDescriptionprivate final PStmtKeyPoolableCallableStatement.keyKey for this statement in the containingKeyedObjectPool.Fields in org.apache.commons.dbcp2 with type parameters of type PStmtKeyModifier and TypeFieldDescriptionprivate final org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> PoolableCallableStatement.poolTheKeyedObjectPoolfrom which this CallableStatement was obtained.private org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> PoolingConnection.pStmtPoolPool ofPreparedStatements.Methods in org.apache.commons.dbcp2 that return PStmtKeyModifier and TypeMethodDescriptionprotected PStmtKeyCreates a PStmtKey for the given arguments.protected PStmtKeyCreates a PStmtKey for the given arguments.protected PStmtKeyCreates a PStmtKey for the given arguments.protected PStmtKeyCreates a PStmtKey for the given arguments.protected PStmtKeyPoolingConnection.createKey(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates a PStmtKey for the given arguments.protected PStmtKeyPoolingConnection.createKey(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.protected PStmtKeyPoolingConnection.createKey(String sql, int resultSetType, int resultSetConcurrency, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.protected PStmtKeyCreates a PStmtKey for the given arguments.protected PStmtKeyPoolingConnection.createKey(String sql, PoolingConnection.StatementType statementType) Creates a PStmtKey for the given arguments.Methods in org.apache.commons.dbcp2 that return types with arguments of type PStmtKeyModifier and TypeMethodDescriptionorg.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> PoolingConnection.getStatementPool()Gets the prepared statement pool.Methods in org.apache.commons.dbcp2 with parameters of type PStmtKeyModifier and TypeMethodDescriptionvoidPoolingConnection.activateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for activating pooled statements.PStmtKey.StatementBuilder.createStatement(Connection connection, PStmtKey key) voidPoolingConnection.destroyObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for destroying PoolablePreparedStatements and PoolableCallableStatements.org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> PoolingConnection.makeObject(PStmtKey key) KeyedPooledObjectFactorymethod for creatingPoolablePreparedStatements orPoolableCallableStatements.voidPoolingConnection.passivateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) private CallableStatementPoolingConnection.prepareCall(PStmtKey key) Creates or obtains aCallableStatementfrom the pool.private PreparedStatementPoolingConnection.prepareStatement(PStmtKey key) Creates or obtains aPreparedStatementfrom the pool.booleanPoolingConnection.validateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) KeyedPooledObjectFactorymethod for validating pooled statements.Method parameters in org.apache.commons.dbcp2 with type arguments of type PStmtKeyModifier and TypeMethodDescriptionvoidPoolingConnection.setStatementPool(org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool) Sets the prepared statement pool.Constructors in org.apache.commons.dbcp2 with parameters of type PStmtKeyModifierConstructorDescriptionPoolableCallableStatement(CallableStatement callableStatement, PStmtKey key, org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance.Constructor parameters in org.apache.commons.dbcp2 with type arguments of type PStmtKeyModifierConstructorDescriptionPoolableCallableStatement(CallableStatement callableStatement, PStmtKey key, org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> pool, DelegatingConnection<Connection> connection) Constructs a new instance.privatePStmtKey(String sql, String catalog, String schema, Integer resultSetType, Integer resultSetConcurrency, Integer resultSetHoldability, Integer autoGeneratedKeys, int[] columnIndexes, String[] columnNames, PoolingConnection.StatementType statementType, Function<PStmtKey, PStmtKey.StatementBuilder> statementBuilder) -
Uses of PStmtKey in org.apache.commons.dbcp2.cpdsadapter
Subclasses of PStmtKey in org.apache.commons.dbcp2.cpdsadapterFields in org.apache.commons.dbcp2.cpdsadapter with type parameters of type PStmtKeyModifier and TypeFieldDescriptionprivate org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> PooledConnectionImpl.pStmtPoolMy pool ofPreparedStatements.Methods in org.apache.commons.dbcp2.cpdsadapter that return PStmtKeyModifier and TypeMethodDescriptionprotected PStmtKeyCreates aPStmtKeyfor the given arguments.protected PStmtKeyCreates aPStmtKeyfor the given arguments.protected PStmtKeyCreates aPStmtKeyfor the given arguments.protected PStmtKeyCreates aPStmtKeyfor the given arguments.protected PStmtKeyPooledConnectionImpl.createKey(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) Creates aPStmtKeyfor the given arguments.protected PStmtKeyPooledConnectionImpl.createKey(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability, PoolingConnection.StatementType statementType) Creates aPStmtKeyfor the given arguments.protected PStmtKeyPooledConnectionImpl.createKey(String sql, int resultSetType, int resultSetConcurrency, PoolingConnection.StatementType statementType) Creates aPStmtKeyfor the given arguments.protected PStmtKeyCreates aPStmtKeyfor the given arguments.protected PStmtKeyPooledConnectionImpl.createKey(String sql, PoolingConnection.StatementType statementType) Creates aPStmtKeyfor the given arguments.Methods in org.apache.commons.dbcp2.cpdsadapter with parameters of type PStmtKeyModifier and TypeMethodDescriptionvoidPooledConnectionImpl.activateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for activatingPreparedStatements.voidPooledConnectionImpl.destroyObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for destroyingPreparedStatements.org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> PooledConnectionImpl.makeObject(PStmtKey key) MyKeyedPooledObjectFactorymethod for creatingPreparedStatements.voidPooledConnectionImpl.passivateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for passivatingPreparedStatements.booleanPooledConnectionImpl.validateObject(PStmtKey key, org.apache.commons.pool2.PooledObject<DelegatingPreparedStatement> pooledObject) MyKeyedPooledObjectFactorymethod for validatingPreparedStatements.Method parameters in org.apache.commons.dbcp2.cpdsadapter with type arguments of type PStmtKeyModifier and TypeMethodDescriptionvoidPooledConnectionImpl.setStatementPool(org.apache.commons.pool2.KeyedObjectPool<PStmtKey, DelegatingPreparedStatement> statementPool)
PStmtKey.