Class SearchGroupsImpl
java.lang.Object
com.yahoo.search.dispatch.searchcluster.SearchGroupsImpl
- All Implemented Interfaces:
SearchGroups
- Author:
- baldersheim
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(int id) groups()
boolean
isGroupCoverageSufficient
(boolean currentIsGroupCoverageSufficient, long groupDocumentCount, long medianDocumentCount, long maxDocumentCount) boolean
isPartialGroupCoverageSufficient
(boolean currentIsGroupCoverageSufficient, Collection<Node> nodes) keys()
long
long
int
size()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.search.dispatch.searchcluster.SearchGroups
isEmpty, nodes
-
Constructor Details
-
SearchGroupsImpl
-
-
Method Details
-
get
- Specified by:
get
in interfaceSearchGroups
-
keys
- Specified by:
keys
in interfaceSearchGroups
-
groups
- Specified by:
groups
in interfaceSearchGroups
-
size
public int size()- Specified by:
size
in interfaceSearchGroups
-
isPartialGroupCoverageSufficient
public boolean isPartialGroupCoverageSufficient(boolean currentIsGroupCoverageSufficient, Collection<Node> nodes) - Specified by:
isPartialGroupCoverageSufficient
in interfaceSearchGroups
-
isGroupCoverageSufficient
public boolean isGroupCoverageSufficient(boolean currentIsGroupCoverageSufficient, long groupDocumentCount, long medianDocumentCount, long maxDocumentCount) -
medianDocumentCount
public long medianDocumentCount() -
maxDocumentCount
public long maxDocumentCount()
-