public class ExtendedHostResolver extends Object implements HostResolver
Constructor and Description |
---|
ExtendedHostResolver(List<Host> hosts,
Integer maxConnections,
ConnectionFactory connectionFactory,
Integer acquireHostListInterval) |
Modifier and Type | Method and Description |
---|---|
void |
init(com.arangodb.internal.ArangoExecutorSync executor,
ArangoSerialization arangoSerialization) |
HostSet |
resolve(boolean initial,
boolean closeConnections) |
public ExtendedHostResolver(List<Host> hosts, Integer maxConnections, ConnectionFactory connectionFactory, Integer acquireHostListInterval)
public void init(com.arangodb.internal.ArangoExecutorSync executor, ArangoSerialization arangoSerialization)
init
in interface HostResolver
public HostSet resolve(boolean initial, boolean closeConnections)
resolve
in interface HostResolver
Copyright © 2016–2019 ArangoDB GmbH. All rights reserved.