Package com.yahoo.vespa.model.container
Class NodeFlavorTuning
- java.lang.Object
-
- com.yahoo.vespa.model.container.NodeFlavorTuning
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.container.handler.ThreadpoolConfig.Producer
,com.yahoo.search.config.QrStartConfig.Producer
public class NodeFlavorTuning 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 the node flavor of that node.- 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)
NodeFlavorTuning
setQueueSizeFactor(double queueSizeFactor)
NodeFlavorTuning
setThreadPoolSizeFactor(double threadPoolSizeFactor)
-
-
-
Method Detail
-
setThreadPoolSizeFactor
public NodeFlavorTuning setThreadPoolSizeFactor(double threadPoolSizeFactor)
-
setQueueSizeFactor
public NodeFlavorTuning 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
-
-