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) |
void |
setJwt(String jwt) |
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 setJwt(String jwt)
setJwt in interface ConnectionPoolpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2016–2023 ArangoDB GmbH. All rights reserved.