Class NodeResourcesTuning

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, com.yahoo.vespa.config.search.core.ProtonConfig.Producer

    public class NodeResourcesTuning
    extends java.lang.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
    • Constructor Summary

      Constructors 
      Constructor Description
      NodeResourcesTuning​(com.yahoo.config.provision.NodeResources resources, int redundancy, int searchableCopies, int threadsPerSearch, boolean combined)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      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
    • Constructor Detail

      • NodeResourcesTuning

        public NodeResourcesTuning​(com.yahoo.config.provision.NodeResources resources,
                                   int redundancy,
                                   int searchableCopies,
                                   int threadsPerSearch,
                                   boolean combined)
    • Method Detail

      • 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