Package com.yahoo.search.query.ranking
Class SoftTimeout
java.lang.Object
com.yahoo.search.query.ranking.SoftTimeout
- All Implemented Interfaces:
Cloneable
Settings for the soft-timeout feature.
- Author:
- baldersheim
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanstatic QueryProfileTypeReturns whether softtimeout is enabled.inthashCode()voidprepare(RankProperties rankProperties) Internal operation - DO NOT USEvoidsetEnable(boolean enable) voidsetFactor(double factor) Override the adaptive factor determined on the content nodesvoidsetTailcost(double tailcost) Override the tail cost factor determined on the content nodes
-
Field Details
-
ENABLE
- See Also:
-
FACTOR
- See Also:
-
TAILCOST
- See Also:
-
enableProperty
public static final com.yahoo.processing.request.CompoundName enablePropertyThe full property name for turning softtimeout on or off
-
-
Constructor Details
-
SoftTimeout
public SoftTimeout()
-
-
Method Details
-
getArgumentType
-
setEnable
public void setEnable(boolean enable) -
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
-
setTailcost
public void setTailcost(double tailcost) Override the tail cost factor determined on the content nodes -
getTailcost
-
prepare
Internal operation - DO NOT USE -
clone
-
hashCode
public int hashCode() -
equals
-