Package com.yahoo.config.model.api
Class Provisioned
java.lang.Object
com.yahoo.config.model.api.Provisioned
A recording of the capacity requests issued during a model build.
Requests are only recorded here if provision requests are issued to the node repo.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.provision.Capacity capacity) void
add
(com.yahoo.config.provision.ClusterSpec cluster, com.yahoo.config.provision.Capacity capacity) Map<com.yahoo.config.provision.ClusterSpec.Id,
com.yahoo.config.provision.Capacity> all()
Returns an unmodifiable map of all the provision requests recorded during build of the model this belongs toMap<com.yahoo.config.provision.ClusterSpec.Id,
com.yahoo.config.provision.Capacity> Returns an unmodifiable map of all the capacity provision requests recorded during build of the model this belongs toMap<com.yahoo.config.provision.ClusterSpec.Id,
com.yahoo.config.provision.ClusterSpec> clusters()
Returns an unmodifiable map of all the cluster requests recorded during build of the model this belongs to
-
Constructor Details
-
Provisioned
public Provisioned()
-
-
Method Details
-
add
public void add(com.yahoo.config.provision.ClusterSpec cluster, com.yahoo.config.provision.Capacity capacity) -
clusters
public Map<com.yahoo.config.provision.ClusterSpec.Id,com.yahoo.config.provision.ClusterSpec> clusters()Returns an unmodifiable map of all the cluster requests recorded during build of the model this belongs to -
capacities
public Map<com.yahoo.config.provision.ClusterSpec.Id,com.yahoo.config.provision.Capacity> capacities()Returns an unmodifiable map of all the capacity provision requests recorded during build of the model this belongs to -
add
public void add(com.yahoo.config.provision.ClusterSpec.Id id, com.yahoo.config.provision.Capacity capacity) -
all
Returns an unmodifiable map of all the provision requests recorded during build of the model this belongs to
-