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
A JRT subscription which does not use the config class, but
RawConfig
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
-
Constructor Summary
ConstructorDescriptionGenericJRTConfigSubscription
(ConfigKey<RawConfig> key, List<String> defContent, JRTConfigRequester requester, TimingValues timingValues) -
Method Summary
Modifier and TypeMethodDescriptionThe config definition schemaprotected void
setNewConfig
(JRTClientConfigRequest jrtReq) protected void
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, isClosed, isConfigChangedAndReset, setConfigIfChanged, setConfigIncGen, setException, toString
-
Constructor Details
-
GenericJRTConfigSubscription
public GenericJRTConfigSubscription(ConfigKey<RawConfig> key, List<String> defContent, JRTConfigRequester requester, TimingValues timingValues)
-
-
Method Details
-
setNewConfig
- Overrides:
setNewConfig
in classJRTConfigSubscription<RawConfig>
-
setNewConfigAndGeneration
- Overrides:
setNewConfigAndGeneration
in classJRTConfigSubscription<RawConfig>
-
getRawConfig
-
getDefContent
The config definition schema- Overrides:
getDefContent
in classConfigSubscription<RawConfig>
- Returns:
- the config definition for this subscription
-