Class NodeResourcesTuning

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, com.yahoo.container.handler.ThreadpoolConfig.Producer, com.yahoo.search.config.QrStartConfig.Producer

    public class NodeResourcesTuning
    extends java.lang.Object
    implements com.yahoo.search.config.QrStartConfig.Producer, com.yahoo.container.handler.ThreadpoolConfig.Producer
    Tuning of qr-start config for a container service based on node resources.
    Author:
    balder
    • Method Detail

      • setThreadPoolSizeFactor

        public NodeResourcesTuning setThreadPoolSizeFactor​(double threadPoolSizeFactor)
      • setQueueSizeFactor

        public NodeResourcesTuning setQueueSizeFactor​(double queueSizeFactor)
      • getConfig

        public void getConfig​(com.yahoo.search.config.QrStartConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.search.config.QrStartConfig.Producer
      • getConfig

        public void getConfig​(com.yahoo.container.handler.ThreadpoolConfig.Builder builder)
        Specified by:
        getConfig in interface com.yahoo.container.handler.ThreadpoolConfig.Producer