Class Coverage


  • public class Coverage
    extends com.yahoo.container.handler.Coverage
    The coverage report for a result set.
    Author:
    Steinar Knutsen, baldersheim
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.yahoo.container.handler.Coverage

        com.yahoo.container.handler.Coverage.FullCoverageDefinition
    • Field Summary

      • Fields inherited from class com.yahoo.container.handler.Coverage

        active, DEGRADED_BY_ADAPTIVE_TIMEOUT, DEGRADED_BY_MATCH_PHASE, DEGRADED_BY_TIMEOUT, degradedReason, docs, fullReason, fullResultSets, nodes, resultSets, soonActive
    • Constructor Summary

      Constructors 
      Constructor Description
      Coverage​(long docs, long active)  
      Coverage​(long docs, long active, int nodes)  
      Coverage​(long docs, long active, int nodes, int resultSets)  
    • Constructor Detail

      • Coverage

        public Coverage​(long docs,
                        long active)
      • Coverage

        public Coverage​(long docs,
                        long active,
                        int nodes)
      • Coverage

        public Coverage​(long docs,
                        long active,
                        int nodes,
                        int resultSets)
    • Method Detail

      • setSoonActive

        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 class com.yahoo.container.handler.Coverage