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 ConnectionPool
public Connection connection()
connection
in interface ConnectionPool
public void setJwt(String jwt)
setJwt
in interface ConnectionPool
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.