Class 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 Detail

      • UserConfigRepo

        public UserConfigRepo()
      • UserConfigRepo

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

      • get

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

        public boolean isEmpty()
      • size

        public int size()
      • configsProduced

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