Class ClusterControllerCluster
java.lang.Object
com.yahoo.config.model.producer.AnyConfigProducer
com.yahoo.config.model.producer.TreeConfigProducer<ClusterControllerContainerCluster>
com.yahoo.vespa.model.admin.clustercontroller.ClusterControllerCluster
- All Implemented Interfaces:
com.yahoo.cloud.config.ZookeepersConfig.Producer,com.yahoo.cloud.config.ZookeeperServerConfig.Producer,com.yahoo.config.ConfigInstance.Producer,ConfigProducer,Serializable
public class ClusterControllerCluster
extends TreeConfigProducer<ClusterControllerContainerCluster>
implements com.yahoo.cloud.config.ZookeeperServerConfig.Producer, com.yahoo.cloud.config.ZookeepersConfig.Producer
Used if clustercontroller is run standalone (not as part of the config server ZooKeeper cluster)
to provide common configs to container components.
- Author:
- Ulf Lilleengen
- See Also:
-
Field Summary
Fields inherited from class com.yahoo.config.model.producer.AnyConfigProducer
log -
Constructor Summary
ConstructorsConstructorDescriptionClusterControllerCluster(TreeConfigProducer<?> parent, String subId, DeployState deployState) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidAdds a child to this config producer.voidgetConfig(com.yahoo.cloud.config.ZookeepersConfig.Builder builder) voidgetConfig(com.yahoo.cloud.config.ZookeeperServerConfig.Builder builder) voidvalidate()check constraints depending on the state of the vespamodel graph.Methods inherited from class com.yahoo.config.model.producer.TreeConfigProducer
addDescendantService, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getDescendantServices, removeChildMethods 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
-
ClusterControllerCluster
public ClusterControllerCluster(TreeConfigProducer<?> parent, String subId, DeployState deployState)
-
-
Method Details
-
getConfig
public void getConfig(com.yahoo.cloud.config.ZookeeperServerConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.cloud.config.ZookeeperServerConfig.Producer
-
getConfig
public void getConfig(com.yahoo.cloud.config.ZookeepersConfig.Builder builder) - Specified by:
getConfigin interfacecom.yahoo.cloud.config.ZookeepersConfig.Producer
-
addChild
Description copied from class:TreeConfigProducerAdds a child to this config producer.- Overrides:
addChildin classTreeConfigProducer<ClusterControllerContainerCluster>- Parameters:
cluster- the child config producer to add
-
validate
public void validate()Description copied from interface:ConfigProducercheck constraints depending on the state of the vespamodel graph. When overriding, you must invoke super.- Specified by:
validatein interfaceConfigProducer- Overrides:
validatein classTreeConfigProducer<ClusterControllerContainerCluster>
-