private class PooledConnectionProvider.ConnectionItemFactory extends java.lang.Object implements ConcurrentPool.ItemFactory<Connection>
| Modifier | Constructor and Description |
|---|---|
private |
ConnectionItemFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close(Connection connection) |
Connection |
create() |
boolean |
shouldPrune(Connection connection) |
public Connection create()
create in interface ConcurrentPool.ItemFactory<Connection>public void close(Connection connection)
close in interface ConcurrentPool.ItemFactory<Connection>public boolean shouldPrune(Connection connection)
shouldPrune in interface ConcurrentPool.ItemFactory<Connection>