Class ServiceCluster
java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<ServiceCluster>
com.yahoo.vespa.model.generic.service.ServiceCluster
- All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer
,ConfigProducer
,Serializable
A cluster of nodes running one application specific generic service. These are defined on the top level in the Vespa config
- Author:
- vegardh
- See Also:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AbstractConfigProducer
log
-
Constructor Summary
ConstructorsConstructorDescriptionServiceCluster
(AbstractConfigProducer<?> parent, String name, String command) -
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the one and only HostSystem of the root node.services()
void
setHostSystem
(HostSystem hostSystem) Sets the host system for this.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, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted, validate
-
Constructor Details
-
ServiceCluster
-
-
Method Details
-
getName
-
services
-
hostSystem
Description copied from class:AbstractConfigProducer
Returns the one and only HostSystem of the root node. Must be overridden by root node.- Specified by:
hostSystem
in interfaceConfigProducer
- Overrides:
hostSystem
in classAbstractConfigProducer<ServiceCluster>
-
setHostSystem
Sets the host system for this.- Parameters:
hostSystem
- aHostSystem
-