public abstract class ConnectionPool<C extends Connection> extends Object
Constructor and Description |
---|
ConnectionPool(Integer maxConnections) |
Modifier and Type | Method and Description |
---|---|
void |
closeConnection(C connection) |
void |
closeConnectionOnError(C connection) |
C |
connection(HostHandle hostHandle) |
abstract C |
createConnection(Host host) |
void |
disconnect() |
public ConnectionPool(Integer maxConnections)
public C connection(HostHandle hostHandle)
public void disconnect() throws IOException
IOException
public void closeConnection(C connection)
public void closeConnectionOnError(C connection)
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.