public class ConnectionPoolImpl extends Object implements ConnectionPool
| Constructor and Description |
|---|
ConnectionPoolImpl(HostDescription host,
Integer maxConnections,
ConnectionFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Connection |
connection() |
Connection |
createConnection(HostDescription host) |
String |
toString() |
public ConnectionPoolImpl(HostDescription host, Integer maxConnections, ConnectionFactory factory)
public Connection createConnection(HostDescription host)
createConnection in interface ConnectionPoolpublic Connection connection()
connection in interface ConnectionPoolpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016–2020 ArangoDB GmbH. All rights reserved.