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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
static QueryProfileType
Returns whether softtimeout is enabled.int
hashCode()
void
prepare
(RankProperties rankProperties) Internal operation - DO NOT USEvoid
setEnable
(boolean enable) void
setFactor
(double factor) Override the adaptive factor determined on the content nodesvoid
setTailcost
(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
-