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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Collection<ContainerCluster<?>>containerClusters(ConfigModelRepo models) ContainerCluster<? extends Container>voidinitialize(ConfigModelRepo configModelRepo) Initializes this model.voidprepare(ConfigModelRepo plugins, DeployState deployState) Prepares this model to start serving config requests, possibly using properties of other models.voidsetCluster(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:ConfigModelPrepares 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:
preparein classConfigModel- Parameters:
plugins- The ConfigModelRepo of the system model
-
initialize
Description copied from class:ConfigModelInitializes 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:
initializein classConfigModel- Parameters:
configModelRepo- The ConfigModelRepo of the VespaModel
-
containerClusters
-