Class Provisioned

java.lang.Object
com.yahoo.config.model.api.Provisioned

public class Provisioned extends Object
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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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 to
    Map<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 to
    Map<com.yahoo.config.provision.ClusterSpec.Id,com.yahoo.config.provision.ClusterSpec>
    Returns an unmodifiable map of all the cluster requests recorded during build of the model this belongs to

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      public 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 to