Class SoftTimeout

  • All Implemented Interfaces:
    java.lang.Cloneable

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

      • enableProperty

        public static final com.yahoo.processing.request.CompoundName enableProperty
        The full property name for turning softtimeout on or off
    • Constructor Detail

      • SoftTimeout

        public SoftTimeout()
    • Method Detail

      • setEnable

        public void setEnable​(boolean enable)
      • getEnable

        public java.lang.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 java.lang.Double getFactor()
      • setTailcost

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

        public java.lang.Double getTailcost()
      • prepare

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

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

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object