Package com.yahoo.vespa.model.container
Class ContainerThreadpool
- java.lang.Object
-
- com.yahoo.config.model.producer.AbstractConfigProducer<CHILD>
-
- com.yahoo.vespa.model.container.component.Component<AbstractConfigProducer<?>,com.yahoo.osgi.provider.model.ComponentModel>
-
- com.yahoo.vespa.model.container.component.SimpleComponent
-
- com.yahoo.vespa.model.container.ContainerThreadpool
-
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Producer
,ConfigProducer
,Serializable
,Comparable<Component<?,?>>
public class ContainerThreadpool extends SimpleComponent implements com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Producer
Component definition for aExecutor
usingContainerThreadPool
.- Author:
- bjorncs
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ContainerThreadpool.UserOptions
-
Field Summary
-
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
-
Constructor Summary
Constructors Constructor Description ContainerThreadpool(String name, ContainerThreadpool.UserOptions userOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getConfig(com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Builder builder)
protected boolean
hasUserOptions()
protected Optional<ContainerThreadpool.UserOptions>
userOptions()
-
Methods inherited from class com.yahoo.vespa.model.container.component.Component
addComponent, compareTo, fromClassAndBundle, getClassId, getComponentId, getGlobalComponentId, getInjectedComponentIds, inject, injectForName, toString
-
Methods inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
addChild, addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
-
-
-
Constructor Detail
-
ContainerThreadpool
public ContainerThreadpool(String name, ContainerThreadpool.UserOptions userOptions)
-
-
Method Detail
-
getConfig
public void getConfig(com.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Builder builder)
- Specified by:
getConfig
in interfacecom.yahoo.container.handler.threadpool.ContainerThreadpoolConfig.Producer
-
userOptions
protected Optional<ContainerThreadpool.UserOptions> userOptions()
-
hasUserOptions
protected boolean hasUserOptions()
-
-