Class 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 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
    • Constructor Detail

      • ExperimentalCfg

        public ExperimentalCfg()
    • Method Detail

      • 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)
      • setRocksdb

        public void setRocksdb​(RocksdbCfg rocksdb)