Class SoftTimeout

java.lang.Object
com.yahoo.search.query.ranking.SoftTimeout
All Implemented Interfaces:
Cloneable

public class SoftTimeout extends Object implements Cloneable
Settings for the soft-timeout feature.
Author:
baldersheim
  • Field Details

  • Constructor Details

    • SoftTimeout

      public SoftTimeout()
  • Method Details

    • getArgumentType

      public static QueryProfileType getArgumentType()
    • setEnable

      public void setEnable(boolean enable)
    • getEnable

      public Boolean getEnable()
      Returns whether softtimeout is enabled. Defauyt is true.
    • setFactor

      public void setFactor(double factor)
      Override the adaptive factor determined on the content nodes
    • getFactor

      public Double getFactor()
    • setTailcost

      public void setTailcost(double tailcost)
      Override the tail cost factor determined on the content nodes
    • getTailcost

      public Double getTailcost()
    • prepare

      public void prepare(RankProperties rankProperties)
      Internal operation - DO NOT USE
    • clone

      public SoftTimeout clone()
      Overrides:
      clone in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object