public static class SearchCluster.Group extends Object
Constructor and Description |
---|
Group(int id,
List<SearchCluster.Node> nodes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
hasSufficientCoverage()
Returns whether this group has sufficient active documents
(compared to other groups) that is should receive traffic
|
int |
id()
Returns the unique identity of this group
|
com.google.common.collect.ImmutableList<SearchCluster.Node> |
nodes()
Returns the nodes in this group as an immutable list
|
String |
toString() |
public Group(int id, List<SearchCluster.Node> nodes)
public int id()
public com.google.common.collect.ImmutableList<SearchCluster.Node> nodes()
public boolean hasSufficientCoverage()
Copyright © 2018. All rights reserved.