Class NodeResourcesTuning

java.lang.Object
com.yahoo.vespa.model.search.NodeResourcesTuning
All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, com.yahoo.vespa.config.search.core.ProtonConfig.Producer

public class NodeResourcesTuning extends Object implements com.yahoo.vespa.config.search.core.ProtonConfig.Producer
Tuning of proton config for a search node based on the resources on the node.
Author:
geirst
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
    static final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    NodeResourcesTuning(com.yahoo.config.provision.NodeResources resources, int threadsPerSearch, double fractionOfMemoryReserved)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • NodeResourcesTuning

      public NodeResourcesTuning(com.yahoo.config.provision.NodeResources resources, int threadsPerSearch, double fractionOfMemoryReserved)
  • Method Details

    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.core.ProtonConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.core.ProtonConfig.Producer