private static class StatementPoolingTest.LogicalPooledConnectionFactory
extends java.lang.Object
For now we only support holding one pooled connection open, but the factory can easily be extended to hold several pooled (physical) connection open if a test requires it.
Modifier and Type | Field and Description |
---|---|
private int |
curCacheSize |
private javax.sql.PooledConnection |
pooledConnection |
Modifier | Constructor and Description |
---|---|
private |
LogicalPooledConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.sql.Connection |
getConnection(int cacheSize) |
Apache Derby V10.13 Internals - Copyright © 2004,2016 The Apache Software Foundation. All Rights Reserved.