Class ExperimentalCfg
- java.lang.Object
-
- io.camunda.zeebe.broker.system.configuration.ExperimentalCfg
-
- All Implemented Interfaces:
ConfigurationEntry
public class ExperimentalCfg extends Object implements ConfigurationEntry
Be aware that all configuration which are part of this class are experimental, which means they are subject to change and to drop. It might be that also some of them are actually dangerous so be aware when you change one of these!
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_DISABLE_EXPLICIT_RAFT_FLUSHstatic org.springframework.util.unit.DataSizeDEFAULT_MAX_APPEND_BATCH_SIZEstatic intDEFAULT_MAX_APPENDS_PER_FOLLOWER
-
Constructor Summary
Constructors Constructor Description ExperimentalCfg()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.util.unit.DataSizegetMaxAppendBatchSize()longgetMaxAppendBatchSizeInBytes()intgetMaxAppendsPerFollower()RocksdbCfggetRocksdb()voidinit(BrokerCfg globalConfig, String brokerBase)booleanisDisableExplicitRaftFlush()voidsetDisableExplicitRaftFlush(boolean disableExplicitRaftFlush)voidsetMaxAppendBatchSize(org.springframework.util.unit.DataSize maxAppendBatchSize)voidsetMaxAppendsPerFollower(int maxAppendsPerFollower)voidsetRocksdb(RocksdbCfg rocksdb)StringtoString()
-
-
-
Field Detail
-
DEFAULT_MAX_APPENDS_PER_FOLLOWER
public static final int DEFAULT_MAX_APPENDS_PER_FOLLOWER
- See Also:
- Constant Field Values
-
DEFAULT_MAX_APPEND_BATCH_SIZE
public static final org.springframework.util.unit.DataSize DEFAULT_MAX_APPEND_BATCH_SIZE
-
DEFAULT_DISABLE_EXPLICIT_RAFT_FLUSH
public static final boolean DEFAULT_DISABLE_EXPLICIT_RAFT_FLUSH
- See Also:
- Constant Field Values
-
-
Method Detail
-
init
public void init(BrokerCfg globalConfig, String brokerBase)
- Specified by:
initin interfaceConfigurationEntry
-
getMaxAppendsPerFollower
public int getMaxAppendsPerFollower()
-
setMaxAppendsPerFollower
public void setMaxAppendsPerFollower(int maxAppendsPerFollower)
-
getMaxAppendBatchSize
public org.springframework.util.unit.DataSize getMaxAppendBatchSize()
-
setMaxAppendBatchSize
public void setMaxAppendBatchSize(org.springframework.util.unit.DataSize maxAppendBatchSize)
-
getMaxAppendBatchSizeInBytes
public long getMaxAppendBatchSizeInBytes()
-
isDisableExplicitRaftFlush
public boolean isDisableExplicitRaftFlush()
-
setDisableExplicitRaftFlush
public void setDisableExplicitRaftFlush(boolean disableExplicitRaftFlush)
-
getRocksdb
public RocksdbCfg getRocksdb()
-
setRocksdb
public void setRocksdb(RocksdbCfg rocksdb)
-
-