Class SearchGroupsImpl
java.lang.Object
com.yahoo.search.dispatch.searchcluster.SearchGroupsImpl
- All Implemented Interfaces:
SearchGroups
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionget
(int id) groups()
boolean
isGroupCoverageSufficient
(long activeDocuments, long medianDocuments) boolean
keys()
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
- Specified by:
isPartialGroupCoverageSufficient
in interfaceSearchGroups
-
isGroupCoverageSufficient
public boolean isGroupCoverageSufficient(long activeDocuments, long medianDocuments) -
medianDocumentsPerGroup
public long medianDocumentsPerGroup()
-