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
ConstructorDescriptionClusterControllerCluster
(TreeConfigProducer<?> parent, String subId, DeployState deployState) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds a child to this config producer.void
getConfig
(com.yahoo.cloud.config.ZookeepersConfig.Builder builder) void
getConfig
(com.yahoo.cloud.config.ZookeeperServerConfig.Builder builder) void
validate()
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, removeChild
Methods 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, stateIsHosted
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getConfig
in interfacecom.yahoo.cloud.config.ZookeeperServerConfig.Producer
-
getConfig
public void getConfig(com.yahoo.cloud.config.ZookeepersConfig.Builder builder) - Specified by:
getConfig
in interfacecom.yahoo.cloud.config.ZookeepersConfig.Producer
-
addChild
Description copied from class:TreeConfigProducer
Adds a child to this config producer.- Overrides:
addChild
in classTreeConfigProducer<ClusterControllerContainerCluster>
- Parameters:
cluster
- the child config producer to add
-
validate
public void validate()Description copied from interface:ConfigProducer
check constraints depending on the state of the vespamodel graph. When overriding, you must invoke super.- Specified by:
validate
in interfaceConfigProducer
- Overrides:
validate
in classTreeConfigProducer<ClusterControllerContainerCluster>
-