Class ReindexingConfig.Builder
java.lang.Object
com.yahoo.vespa.config.content.reindexing.ReindexingConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ReindexingConfig
public static final class ReindexingConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()clusters(String __key, ReindexingConfig.Clusters.Builder __value) clusters(String __key, Consumer<ReindexingConfig.Clusters.Builder> __func) Make a new builder and run the supplied function on it before using it as the valueclusters(Map<String, ReindexingConfig.Clusters.Builder> __values) final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) enabled(boolean __value) final booleanfinal Stringfinal Stringfinal Stringfinal voidsetApplyOnRestart(boolean applyOnRestart)
-
Field Details
-
clusters
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
enabled
-
clusters
-
clusters
-
clusters
public ReindexingConfig.Builder clusters(String __key, Consumer<ReindexingConfig.Clusters.Builder> __func) Make a new builder and run the supplied function on it before using it as the value- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
dispatchGetConfig
public final boolean dispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) - Specified by:
dispatchGetConfigin interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefMd5
- Specified by:
getDefMd5in interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefName
- Specified by:
getDefNamein interfacecom.yahoo.config.ConfigInstance.Builder
-
getDefNamespace
- Specified by:
getDefNamespacein interfacecom.yahoo.config.ConfigInstance.Builder
-
getApplyOnRestart
public final boolean getApplyOnRestart()- Specified by:
getApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
setApplyOnRestart
public final void setApplyOnRestart(boolean applyOnRestart) - Specified by:
setApplyOnRestartin interfacecom.yahoo.config.ConfigInstance.Builder
-
build
-