Class ConfigProducerGroup<CHILD extends AnyConfigProducer>
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<CHILD>
com.yahoo.vespa.model.container.component.ConfigProducerGroup<CHILD>
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer,ConfigProducer,Serializable
- Direct Known Subclasses:
ComponentGroup
A group of config producers that have a component id.
- Author:
- Tony Vaagenes
- See Also:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Constructor Summary
ConstructorsConstructorDescriptionConfigProducerGroup(TreeConfigProducer<? super ConfigProducerGroup> parent, String subId) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddComponent(com.yahoo.component.ComponentId id, CHILD producer) Returns a map of all components in this group, with (local) component ID as key.<T extends CHILD>
Collection<T>getComponents(Class<T> componentClass) removeComponent(com.yahoo.component.ComponentId componentId) Removes a component by idMethods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addChild, addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChild, validateMethods inherited from class com.yahoo.config.model.producer.AnyConfigProducer
addConfigId, addUserConfig, cascadeConfig, currentConfigId, findInheritedClassLoader, getConfigId, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, setParent, setUserConfigs, stateIsHostedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.yahoo.vespa.model.ConfigProducer
dump
-
Constructor Details
-
ConfigProducerGroup
-
-
Method Details
-
addComponent
-
removeComponent
Removes a component by id- Returns:
- the removed component, or null if it was not present
-
getComponents
-
getComponents
-
getComponentMap
Returns a map of all components in this group, with (local) component ID as key.
-