Package com.yahoo.searchlib
Class TranslogserverConfig.Builder
java.lang.Object
com.yahoo.searchlib.TranslogserverConfig.Builder
- All Implemented Interfaces:
com.yahoo.config.ConfigBuilder,com.yahoo.config.ConfigInstance.Builder
- Enclosing class:
- TranslogserverConfig
public static final class TranslogserverConfig.Builder
extends Object
implements com.yahoo.config.ConfigInstance.Builder
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()chunk(TranslogserverConfig.Chunk.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 listfinal booleandispatchGetConfig(com.yahoo.config.ConfigInstance.Producer producer) filesizemax(int __value) final booleanfinal Stringfinal Stringfinal Stringlistenport(int __value) maxthreads(int __value) servername(String __value) final voidsetApplyOnRestart(boolean applyOnRestart) usefsync(boolean __value)
-
Field Details
-
compression
-
chunk
-
-
Constructor Details
-
Builder
public Builder() -
Builder
-
-
Method Details
-
listenport
-
filesizemax
-
servername
-
basedir
-
usefsync
-
maxthreads
-
crcmethod
-
compression
-
compression
public TranslogserverConfig.Builder compression(Consumer<TranslogserverConfig.Compression.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
-
chunk
-
chunk
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
-
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
-