public class QueryHostFinder extends Object
Constructor and Description |
---|
QueryHostFinder(TieredBrokerHostSelector hostSelector) |
Modifier and Type | Method and Description |
---|---|
Server |
findDefaultServer() |
<T> Server |
findServer(Query<T> query) |
Collection<String> |
getAllHosts() |
String |
getDefaultHost() |
<T> String |
getHost(Query<T> query) |
@Inject public QueryHostFinder(TieredBrokerHostSelector hostSelector)
Copyright © 2011–2017. All rights reserved.