public class QueryHostFinder extends Object
| Constructor and Description |
|---|
QueryHostFinder(TieredBrokerHostSelector hostSelector,
AvaticaConnectionBalancer avaticaConnectionBalancer) |
| Modifier and Type | Method and Description |
|---|---|
Server |
findDefaultServer() |
<T> Server |
findServer(Query<T> query) |
Server |
findServerAvatica(String connectionId) |
Collection<Server> |
getAllServers() |
Server |
pickDefaultServer() |
<T> Server |
pickServer(Query<T> query) |
@Inject public QueryHostFinder(TieredBrokerHostSelector hostSelector, AvaticaConnectionBalancer avaticaConnectionBalancer)
public Server findDefaultServer()
public Collection<Server> getAllServers()
public Server pickDefaultServer()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.