Class ProtonConfig.Builder
java.lang.Object
com.yahoo.vespa.config.search.core.ProtonConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- ProtonConfig
public static final class ProtonConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattribute(ProtonConfig.Attribute.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listbucketdb(ProtonConfig.Bucketdb.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listbucketmove(ProtonConfig.Bucketmove.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listbuild()clustername(String __value) final booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) distribution(ProtonConfig.Distribution.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listdistributionkey(int __value) docsum(ProtonConfig.Docsum.Builder __builder) docsum(Consumer<ProtonConfig.Docsum.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listdocumentdb(ProtonConfig.Documentdb.Builder __builder) Add the given builder to this builder's list of Documentdb buildersMake a new builder and run the supplied function on it before adding it to the listdocumentdb(List<ProtonConfig.Documentdb.Builder> __builders) Set the given list as this builder's list of Documentdb buildersfeeding(ProtonConfig.Feeding.Builder __builder) feeding(Consumer<ProtonConfig.Feeding.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the listflush(ProtonConfig.Flush.Builder __builder) flush(Consumer<ProtonConfig.Flush.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listforward_issues(boolean __value) final booleanfinal Stringfinal Stringfinal Stringgrouping(ProtonConfig.Grouping.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listhttpport(int __value) hwinfo(ProtonConfig.Hwinfo.Builder __builder) hwinfo(Consumer<ProtonConfig.Hwinfo.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listindex(ProtonConfig.Index.Builder __builder) index(Consumer<ProtonConfig.Index.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listindexing(ProtonConfig.Indexing.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listinitialize(ProtonConfig.Initialize.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the listMake a new builder and run the supplied function on it before adding it to the listmaxvisibilitydelay(double __value) numsearcherthreads(int __value) numsummarythreads(int __value) numthreadspersearch(int __value) packetcompresslevel(int __value) packetcompresslimit(int __value) periodic(ProtonConfig.Periodic.Builder __builder) Make a new builder and run the supplied function on it before adding it to the listpruneremoveddocumentsage(double __value) pruneremoveddocumentsinterval(double __value) Make a new builder and run the supplied function on it before adding it to the listroutingconfigid(String __value) rpc(ProtonConfig.Rpc.Builder __builder) rpc(Consumer<ProtonConfig.Rpc.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listrpcport(int __value) search(ProtonConfig.Search.Builder __builder) search(Consumer<ProtonConfig.Search.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listfinal voidsetApplyOnRestart(boolean applyOnRestart) slobrokconfigid(String __value) summary(ProtonConfig.Summary.Builder __builder) summary(Consumer<ProtonConfig.Summary.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listtlsconfigid(String __value) visit(ProtonConfig.Visit.Builder __builder) visit(Consumer<ProtonConfig.Visit.Builder> __func) Make a new builder and run the supplied function on it before adding it to the listwritefilter(ProtonConfig.Writefilter.Builder __builder) Make a new builder and run the supplied function on it before adding it to the list
-
Field Details
-
rpc
-
search
-
docsum
-
flush
-
indexing
-
index
-
attribute
-
grouping
-
distribution
-
summary
-
documentdb
-
periodic
-
filedistributor
-
lidspacecompaction
-
bucketmove
-
visit
-
initialize
-
writefilter
-
hwinfo
-
feeding
-
maintenancejobs
-
bucketdb
-
replay_throttling_policy
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
basedir
-
rpcport
-
httpport
-
clustername
-
distributionkey
-
rpc
-
rpc
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
search
-
search
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
docsum
-
docsum
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
numsearcherthreads
-
numthreadspersearch
-
numsummarythreads
-
validate_and_sanitize_docstore
public ProtonConfig.Builder validate_and_sanitize_docstore(ProtonConfig.Validate_and_sanitize_docstore.Enum __value) -
flush
-
flush
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
indexing
-
indexing
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
index
-
index
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
attribute
-
attribute
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
grouping
-
grouping
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
distribution
-
distribution
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
summary
-
summary
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
documentdb
Add the given builder to this builder's list of Documentdb builders- Parameters:
__builder- a builder- Returns:
- this builder
-
documentdb
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
documentdb
Set the given list as this builder's list of Documentdb builders- Parameters:
__builders- a list of builders- Returns:
- this builder
-
periodic
-
periodic
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
tlsspec
-
tlsconfigid
-
slobrokconfigid
-
routingconfigid
-
filedistributor
-
filedistributor
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
pruneremoveddocumentsinterval
-
pruneremoveddocumentsage
-
packetcompresslimit
-
packetcompresslevel
-
packetcompresstype
-
lidspacecompaction
-
lidspacecompaction
public ProtonConfig.Builder lidspacecompaction(Consumer<ProtonConfig.Lidspacecompaction.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
bucketmove
-
bucketmove
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
maxvisibilitydelay
-
visit
-
visit
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
initialize
-
initialize
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
writefilter
-
writefilter
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
hwinfo
-
hwinfo
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
feeding
-
feeding
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
maintenancejobs
-
maintenancejobs
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
bucketdb
-
bucketdb
Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
replay_throttling_policy
public ProtonConfig.Builder replay_throttling_policy(ProtonConfig.Replay_throttling_policy.Builder __builder) -
replay_throttling_policy
public ProtonConfig.Builder replay_throttling_policy(Consumer<ProtonConfig.Replay_throttling_policy.Builder> __func) Make a new builder and run the supplied function on it before adding it to the list- Parameters:
__func- lambda that modifies the given builder- Returns:
- this builder
-
tensor_implementation
-
forward_issues
-
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
-