Package com.yahoo.searchlib
Class TranslogserverConfig
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.InnerNode
-
- com.yahoo.config.ConfigInstance
-
- com.yahoo.searchlib.TranslogserverConfig
-
public final class TranslogserverConfig extends com.yahoo.config.ConfigInstance
This class represents the root node of translogserver Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TranslogserverConfig.Builder
static class
TranslogserverConfig.Chunk
This class represents translogserver.chunkstatic class
TranslogserverConfig.Compression
This class represents translogserver.compressionstatic class
TranslogserverConfig.Crcmethod
This class represents translogserver.crcmethod Default crc method usedstatic interface
TranslogserverConfig.Producer
-
Field Summary
Fields Modifier and Type Field Description static String
CONFIG_DEF_MD5
static String
CONFIG_DEF_NAME
static String
CONFIG_DEF_NAMESPACE
static String[]
CONFIG_DEF_SCHEMA
static String
CONFIG_DEF_VERSION
-
Constructor Summary
Constructors Constructor Description TranslogserverConfig(TranslogserverConfig.Builder builder)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
basedir()
TranslogserverConfig.Chunk
chunk()
TranslogserverConfig.Compression
compression()
TranslogserverConfig.Crcmethod.Enum
crcmethod()
int
filesizemax()
static String
getDefMd5()
static String
getDefName()
static String
getDefNamespace()
static String
getDefVersion()
int
listenport()
int
maxthreads()
String
servername()
boolean
usefsync()
-
Methods inherited from class com.yahoo.config.ConfigInstance
getConfigMd5, getDefName, getDefNamespace, serialize, serialize, setConfigMd5
-
-
-
-
Field Detail
-
CONFIG_DEF_MD5
public static final String CONFIG_DEF_MD5
- See Also:
- Constant Field Values
-
CONFIG_DEF_NAME
public static final String CONFIG_DEF_NAME
- See Also:
- Constant Field Values
-
CONFIG_DEF_NAMESPACE
public static final String CONFIG_DEF_NAMESPACE
- See Also:
- Constant Field Values
-
CONFIG_DEF_VERSION
public static final String CONFIG_DEF_VERSION
- See Also:
- Constant Field Values
-
CONFIG_DEF_SCHEMA
public static final String[] CONFIG_DEF_SCHEMA
-
-
Constructor Detail
-
TranslogserverConfig
public TranslogserverConfig(TranslogserverConfig.Builder builder)
-
-
Method Detail
-
getDefMd5
public static String getDefMd5()
-
getDefName
public static String getDefName()
-
getDefNamespace
public static String getDefNamespace()
-
getDefVersion
public static String getDefVersion()
-
listenport
public int listenport()
- Returns:
- translogserver.listenport
-
filesizemax
public int filesizemax()
- Returns:
- translogserver.filesizemax
-
servername
public String servername()
- Returns:
- translogserver.servername
-
basedir
public String basedir()
- Returns:
- translogserver.basedir
-
usefsync
public boolean usefsync()
- Returns:
- translogserver.usefsync
-
maxthreads
public int maxthreads()
- Returns:
- translogserver.maxthreads
-
crcmethod
public TranslogserverConfig.Crcmethod.Enum crcmethod()
- Returns:
- translogserver.crcmethod
-
compression
public TranslogserverConfig.Compression compression()
- Returns:
- translogserver.compression
-
chunk
public TranslogserverConfig.Chunk chunk()
- Returns:
- translogserver.chunk
-
-