Package com.yahoo.vespa.model.container
Class ContainerModel
java.lang.Object
com.yahoo.config.model.ConfigModel
com.yahoo.vespa.model.container.ContainerModel
A model of a container cluster.
TODO: Add type parameter for CLUSTER instead of using wildcard '? extends Container'
- Author:
- Tony Vaagenes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ContainerCluster<?>>
containerClusters
(ConfigModelRepo models) ContainerCluster<? extends Container>
void
initialize
(ConfigModelRepo configModelRepo) Initializes this model.void
prepare
(ConfigModelRepo plugins, DeployState deployState) Prepares this model to start serving config requests, possibly using properties of other models.void
setCluster
(ContainerCluster<? extends Container> containerCluster) Methods inherited from class com.yahoo.config.model.ConfigModel
getId, isServing
-
Constructor Details
-
ContainerModel
-
-
Method Details
-
setCluster
-
getCluster
-
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:
plugins
- The ConfigModelRepo of the system model
-
initialize
Description copied from class:ConfigModel
Initializes this model. All inter-model independent initialization is done by implementing this method. The model will be made available to dependent models by the framework when this returns.TODO: Remove this method, as this is now done by the model builders. This default implementation does nothing.
- Overrides:
initialize
in classConfigModel
- Parameters:
configModelRepo
- The ConfigModelRepo of the VespaModel
-
containerClusters
-