Class GenericJRTConfigSubscription
- java.lang.Object
-
- com.yahoo.config.subscription.impl.ConfigSubscription<T>
-
- com.yahoo.config.subscription.impl.JRTConfigSubscription<RawConfig>
-
- com.yahoo.config.subscription.impl.GenericJRTConfigSubscription
-
public class GenericJRTConfigSubscription extends JRTConfigSubscription<RawConfig>
A JRT subscription which does not use the config class, butRawConfig
instead. Used by config proxy.- Author:
- Vegard Havdal
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.yahoo.config.subscription.impl.ConfigSubscription
ConfigSubscription.ConfigState<T extends com.yahoo.config.ConfigInstance>
-
-
Field Summary
-
Fields inherited from class com.yahoo.config.subscription.impl.ConfigSubscription
configClass, key, log, subscriber
-
-
Constructor Summary
Constructors Constructor Description GenericJRTConfigSubscription(ConfigKey<RawConfig> key, java.util.List<java.lang.String> defContent, ConfigSubscriber subscriber, ConfigSource source, TimingValues timingValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefContent
getDefContent()
The config definition schemaRawConfig
getRawConfig()
protected void
setNewConfig(JRTClientConfigRequest jrtReq)
-
Methods inherited from class com.yahoo.config.subscription.impl.JRTConfigSubscription
close, nextConfig, reload, requester, subscribe, timingValues
-
Methods inherited from class com.yahoo.config.subscription.impl.ConfigSubscription
checkReloaded, equals, get, getConfigClass, getConfigState, getException, getKey, isConfigChangedAndReset, setConfigIfChanged, setConfigIncGen, setException, toString
-
-
-
-
Constructor Detail
-
GenericJRTConfigSubscription
public GenericJRTConfigSubscription(ConfigKey<RawConfig> key, java.util.List<java.lang.String> defContent, ConfigSubscriber subscriber, ConfigSource source, TimingValues timingValues)
-
-
Method Detail
-
setNewConfig
protected void setNewConfig(JRTClientConfigRequest jrtReq)
- Overrides:
setNewConfig
in classJRTConfigSubscription<RawConfig>
-
getRawConfig
public RawConfig getRawConfig()
-
getDefContent
public DefContent getDefContent()
The config definition schema- Overrides:
getDefContent
in classConfigSubscription<RawConfig>
- Returns:
- the config definition for this subscription
-
-