Class UserConfigRepo

java.lang.Object
com.yahoo.config.model.producer.UserConfigRepo

public class UserConfigRepo extends Object
A UserConfigRepo is a repository for user configs, typically for a particular config producer. The repo encapsulates how the user configs are stored, and defines the methods to retrieve user configs and merge the repo with others.
Author:
Ulf Lilleengen
  • Constructor Details

    • UserConfigRepo

      public UserConfigRepo()
    • UserConfigRepo

      public UserConfigRepo(Map<com.yahoo.vespa.config.ConfigDefinitionKey,com.yahoo.vespa.config.ConfigPayloadBuilder> map)
  • Method Details

    • clone

      public UserConfigRepo clone()
      Overrides:
      clone in class Object
    • get

      public com.yahoo.vespa.config.ConfigPayloadBuilder get(com.yahoo.vespa.config.ConfigDefinitionKey key)
    • merge

      public void merge(UserConfigRepo newRepo)
    • isEmpty

      public boolean isEmpty()
    • size

      public int size()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • configsProduced

      public Set<com.yahoo.vespa.config.ConfigDefinitionKey> configsProduced()
      The keys of all the configs contained in this.
      Returns:
      a set of ConfigDefinitionsKey