Package | Description |
---|---|
com.yahoo.search.dispatch |
Modifier and Type | Method and Description |
---|---|
Optional<SearchCluster.Group> |
SearchCluster.group(int n)
Returns the n'th (zero-indexed) group in the cluster if possible
|
com.google.common.collect.ImmutableMap<Integer,SearchCluster.Group> |
SearchCluster.groups()
Returns the groups of this cluster as an immutable map indexed by group id
|
Optional<SearchCluster.Group> |
LoadBalancer.takeGroupForQuery(Query query)
Select and allocate the search cluster group which is to be used for the provided query.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancer.releaseGroup(SearchCluster.Group group)
Release an allocation given by
LoadBalancer.takeGroupForQuery(Query) . |
Copyright © 2018. All rights reserved.