Class ConfigRetriever


  • public final class ConfigRetriever
    extends java.lang.Object
    Author:
    Tony Vaagenes, gjoranv, ollivir
    • Constructor Detail

      • ConfigRetriever

        public ConfigRetriever​(java.util.Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> bootstrapKeys,
                               java.util.function.Function<java.util.Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>>,​Subscriber> subscribe)
    • Method Detail

      • getConfigs

        public ConfigRetriever.ConfigSnapshot getConfigs​(java.util.Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> componentConfigKeys,
                                                         long leastGeneration,
                                                         boolean restartOnRedeploy)
        Loop forever until we get config
      • getConfigs

        public ConfigRetriever.ConfigSnapshot getConfigs​(java.util.Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> componentConfigKeys,
                                                         long leastGeneration)
      • shutdown

        public void shutdown()
      • getBootstrapGeneration

        public long getBootstrapGeneration()
      • getComponentsGeneration

        public long getComponentsGeneration()