Package com.yahoo.vespa.model.container
Class NodeResourcesTuning
- java.lang.Object
-
- com.yahoo.vespa.model.container.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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.container.handler.ThreadpoolConfig.Builder builder)
void
getConfig(com.yahoo.search.config.QrStartConfig.Builder builder)
NodeResourcesTuning
setQueueSizeFactor(double queueSizeFactor)
NodeResourcesTuning
setThreadPoolSizeFactor(double threadPoolSizeFactor)
-
-
-
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 interfacecom.yahoo.search.config.QrStartConfig.Producer
-
getConfig
public void getConfig(com.yahoo.container.handler.ThreadpoolConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.container.handler.ThreadpoolConfig.Producer
-
-