Package com.yahoo.search.query.ranking
Class SoftTimeout
- java.lang.Object
-
- com.yahoo.search.query.ranking.SoftTimeout
-
-
Constructor Summary
Constructors Constructor Description SoftTimeout()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SoftTimeout
clone()
boolean
equals(Object o)
static QueryProfileType
getArgumentType()
Boolean
getEnable()
Returns whether softtimeout is enabled.Double
getFactor()
Double
getTailcost()
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 Detail
-
ENABLE
public static final String ENABLE
- See Also:
- Constant Field Values
-
FACTOR
public static final String FACTOR
- See Also:
- Constant Field Values
-
TAILCOST
public static final String TAILCOST
- See Also:
- Constant Field Values
-
enableProperty
public static final com.yahoo.processing.request.CompoundName enableProperty
The full property name for turning softtimeout on or off
-
-
Method Detail
-
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()
-
-