Class LoadTypeSet


  • public class LoadTypeSet
    extends Object
    This class keeps track of all configured load types. For production use, you should only use the String constructor, and supply a valid config id. Only the load types configured will be propagated throughout the system, so there is no point in using other load types. For testing, you may want to use the empty constructor and add load types yourself with addType().
    • Constructor Detail

      • LoadTypeSet

        public LoadTypeSet()
      • LoadTypeSet

        public LoadTypeSet​(String configId)
      • LoadTypeSet

        public LoadTypeSet​(com.yahoo.vespa.config.content.LoadTypeConfig loadTypeConfig)
    • Method Detail

      • addType

        public void addType​(String name,
                            String priority)
        Used by config to generate priorities for a name, and add them to the load type set.
      • configure

        public void configure​(com.yahoo.vespa.config.content.LoadTypeConfig config)