Package com.yahoo.config
Interface ConfigInstance.Builder
- All Superinterfaces:
ConfigBuilder
- Enclosing class:
- ConfigInstance
-
Method Summary
Modifier and TypeMethodDescriptionbooleandispatchGetConfig(ConfigInstance.Producer producer) Dispatches a getConfig() call if this instance's producer is of the right typedefault booleanReturns true if this instance should be applied on restart, false if it should be applied immediatelydefault voidsetApplyOnRestart(boolean applyOnRestart)
-
Method Details
-
dispatchGetConfig
Dispatches a getConfig() call if this instance's producer is of the right type- Parameters:
producer- a config producer- Returns:
- true if this instance's producer was the correct type, and hence a getConfig call was dispatched
-
getDefName
String getDefName() -
getDefNamespace
String getDefNamespace() -
getDefMd5
String getDefMd5() -
getApplyOnRestart
default boolean getApplyOnRestart()Returns true if this instance should be applied on restart, false if it should be applied immediately -
setApplyOnRestart
default void setApplyOnRestart(boolean applyOnRestart)
-