Package com.yahoo.search.result
Class Coverage
- java.lang.Object
-
- com.yahoo.container.handler.Coverage
-
- com.yahoo.search.result.Coverage
-
public class Coverage extends com.yahoo.container.handler.Coverage
The coverage report for a result set.- Author:
- Steinar Knutsen, baldersheim
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Coverage
setDegradedReason(int degradedReason)
Will set the reasons for degraded coverage as reported by vespa backend.Coverage
setNodesTried(int nodesTried)
Coverage
setSoonActive(long soonActive)
Will set number of documents present in ideal state-
Methods inherited from class com.yahoo.container.handler.Coverage
getActive, getDocs, getFull, getFullResultSets, getNodes, getNodesTried, getResultPercentage, getResultSets, getSoonActive, isDegraded, isDegradedByAdapativeTimeout, isDegradedByMatchPhase, isDegradedByNonIdealState, isDegradedByTimeout, merge, toLoggingCoverage
-
-
-
-
Method Detail
-
setSoonActive
@Beta public Coverage setSoonActive(long soonActive)
Will set number of documents present in ideal state- Parameters:
soonActive
- Number of documents active in ideal state- Returns:
- self for chaining
-
setDegradedReason
public Coverage setDegradedReason(int degradedReason)
Will set the reasons for degraded coverage as reported by vespa backend.- Parameters:
degradedReason
- Reason for degradation- Returns:
- self for chaining
-
setNodesTried
public Coverage setNodesTried(int nodesTried)
- Overrides:
setNodesTried
in classcom.yahoo.container.handler.Coverage
-
-