Class ClusterControllerCluster
java.lang.Object
com.yahoo.config.model.producer.AbstractConfigProducer<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 AbstractConfigProducer<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.AbstractConfigProducer
log
-
Constructor Summary
ConstructorDescriptionClusterControllerCluster
(AbstractConfigProducer<?> 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.AbstractConfigProducer
addConfigId, addDescendantService, addUserConfig, cascadeConfig, dump, getChildren, getChildrenByTypeRecursive, getConfigClassLoader, getConfigId, getDescendantServices, getMonitoringService, getParent, getRoot, getSubId, getUserConfigs, hostSystem, mergeUserConfigs, remove, removeChild, setParent, setUserConfigs, stateIsHosted
-
Constructor Details
-
ClusterControllerCluster
public ClusterControllerCluster(AbstractConfigProducer<?> 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:AbstractConfigProducer
Adds a child to this config producer.- Overrides:
addChild
in classAbstractConfigProducer<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 classAbstractConfigProducer<ClusterControllerContainerCluster>
-