diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-22 11:17:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-22 11:17:25 +0100 |
commit | 9f3974b292f5781f999fc912d66b14e86721147c (patch) | |
tree | 86a93b40f886ea1fe623028d1710a9b6c57a7690 /container-search | |
parent | e83c083a68574655f5aa31b722a42a5ed9ac1fa6 (diff) | |
parent | 367e964a430c17b730999a743c937deacbd874c8 (diff) |
Merge pull request #11366 from vespa-engine/bratseth/deprecate-useLocalNode
Deprecate useLocalNode
Diffstat (limited to 'container-search')
-rw-r--r-- | container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java b/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java index 6a59f28ca4c..210ab5777d2 100644 --- a/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java +++ b/container-search/src/main/java/com/yahoo/search/dispatch/LoadBalancer.java @@ -47,7 +47,7 @@ public class LoadBalancer { * {@link #releaseGroup} symmetrically for each taken allocation. * * @param rejectedGroups if not null, the load balancer will only return groups with IDs not in the set - * @return The node group to target, or <i>empty</i> if the internal dispatch logic cannot be used + * @return the node group to target, or <i>empty</i> if the internal dispatch logic cannot be used */ public Optional<Group> takeGroup(Set<Integer> rejectedGroups) { synchronized (this) { @@ -68,12 +68,9 @@ public class LoadBalancer { /** * Release an allocation given by {@link #takeGroup}. The release must be done exactly once for each allocation. * - * @param group - * previously allocated group - * @param success - * was the query successful - * @param searchTimeMs - * query execution time in milliseconds, used for adaptive load balancing + * @param group previously allocated group + * @param success was the query successful + * @param searchTimeMs query execution time in milliseconds, used for adaptive load balancing */ public void releaseGroup(Group group, boolean success, double searchTimeMs) { synchronized (this) { |