Class SoftTimeout

  • All Implemented Interfaces:
    Cloneable

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

      • SoftTimeout

        public SoftTimeout()
    • Method Detail

      • 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
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object