public class NettyPgConnectionPool extends PgConnectionPool
PgConnectionPool that uses NettyPgProtocolStream. Each pool
starts a single Netty IO thread.| Constructor and Description |
|---|
NettyPgConnectionPool(ConnectionPoolBuilder.PoolProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the pool.
|
protected PgConnection |
newConnection(java.net.InetSocketAddress address)
Creates a new connection to the backend.
|
begin, dataConverter, getConnection, query, query, releasepublic NettyPgConnectionPool(ConnectionPoolBuilder.PoolProperties properties)
protected PgConnection newConnection(java.net.InetSocketAddress address)
PgConnectionPoolnewConnection in class PgConnectionPooladdress - Server addresspublic void close()
ConnectionPoolclose in interface ConnectionPoolclose in interface java.lang.AutoCloseableclose in class PgConnectionPoolCopyright © 2014. All Rights Reserved.