Package com.yahoo.container.di
Class ConfigRetriever
- java.lang.Object
-
- com.yahoo.container.di.ConfigRetriever
-
public final class ConfigRetriever extends Object
- Author:
- Tony Vaagenes, gjoranv, ollivir
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConfigRetriever.BootstrapConfigs
static class
ConfigRetriever.ComponentsConfigs
static class
ConfigRetriever.ConfigSnapshot
-
Constructor Summary
Constructors Constructor Description ConfigRetriever(Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> bootstrapKeys, SubscriberFactory subscriberFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getBootstrapGeneration()
long
getComponentsGeneration()
ConfigRetriever.ConfigSnapshot
getConfigs(Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> componentConfigKeys, long leastGeneration, boolean isInitializing)
void
shutdown()
-
-
-
Constructor Detail
-
ConfigRetriever
public ConfigRetriever(Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> bootstrapKeys, SubscriberFactory subscriberFactory)
-
-
Method Detail
-
getConfigs
public ConfigRetriever.ConfigSnapshot getConfigs(Set<com.yahoo.vespa.config.ConfigKey<? extends com.yahoo.config.ConfigInstance>> componentConfigKeys, long leastGeneration, boolean isInitializing)
-
shutdown
public void shutdown()
-
getBootstrapGeneration
public long getBootstrapGeneration()
-
getComponentsGeneration
public long getComponentsGeneration()
-
-