Package com.yahoo.vespa.model.content
Class Content
java.lang.Object
com.yahoo.config.model.ConfigModel
com.yahoo.vespa.model.content.Content
The config model from a content tag in services.
This consists mostly of a ContentCluster.
- Author:
- baldersheim
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionContent
(ConfigModelContext modelContext, AdminModel adminModel, Collection<ContainerModel> containers) -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ContentCluster>
static List<SearchCluster>
Returns indexing cluster implicitly created by this, or empty if an explicit cluster is used (or if called before the build phase)void
prepare
(ConfigModelRepo models, DeployState deployState) Prepares this model to start serving config requests, possibly using properties of other models.Methods inherited from class com.yahoo.config.model.ConfigModel
getId, initialize, isServing
-
Constructor Details
-
Content
public Content(ConfigModelContext modelContext, AdminModel adminModel, Collection<ContainerModel> containers)
-
-
Method Details
-
getCluster
-
ownedIndexingCluster
Returns indexing cluster implicitly created by this, or empty if an explicit cluster is used (or if called before the build phase) -
getContent
-
getSearchClusters
-
getContentClusters
-
prepare
Description copied from class:ConfigModel
Prepares this model to start serving config requests, possibly using properties of other models. The framework will call this method after models have been built. The model should finalize its configurations that depend on other models in this step. This default implementation does nothing.- Overrides:
prepare
in classConfigModel
- Parameters:
models
- The ConfigModelRepo of the system model
-