Class TRatisConfig

    • Field Detail

      • schemaAppenderBufferSize

        public long schemaAppenderBufferSize
      • dataAppenderBufferSize

        public long dataAppenderBufferSize
      • schemaSnapshotTriggerThreshold

        public long schemaSnapshotTriggerThreshold
      • dataSnapshotTriggerThreshold

        public long dataSnapshotTriggerThreshold
      • schemaLogUnsafeFlushEnable

        public boolean schemaLogUnsafeFlushEnable
      • dataLogUnsafeFlushEnable

        public boolean dataLogUnsafeFlushEnable
      • schemaLogSegmentSizeMax

        public long schemaLogSegmentSizeMax
      • dataLogSegmentSizeMax

        public long dataLogSegmentSizeMax
      • schemaGrpcFlowControlWindow

        public long schemaGrpcFlowControlWindow
      • dataGrpcFlowControlWindow

        public long dataGrpcFlowControlWindow
      • schemaLeaderElectionTimeoutMin

        public long schemaLeaderElectionTimeoutMin
      • dataLeaderElectionTimeoutMin

        public long dataLeaderElectionTimeoutMin
      • schemaLeaderElectionTimeoutMax

        public long schemaLeaderElectionTimeoutMax
      • dataLeaderElectionTimeoutMax

        public long dataLeaderElectionTimeoutMax
      • schemaRequestTimeout

        public long schemaRequestTimeout
      • dataRequestTimeout

        public long dataRequestTimeout
      • schemaMaxRetryAttempts

        public int schemaMaxRetryAttempts
      • dataMaxRetryAttempts

        public int dataMaxRetryAttempts
      • schemaInitialSleepTime

        public long schemaInitialSleepTime
      • dataInitialSleepTime

        public long dataInitialSleepTime
      • schemaMaxSleepTime

        public long schemaMaxSleepTime
      • dataMaxSleepTime

        public long dataMaxSleepTime
      • schemaPreserveWhenPurge

        public long schemaPreserveWhenPurge
      • dataPreserveWhenPurge

        public long dataPreserveWhenPurge
      • firstElectionTimeoutMin

        public long firstElectionTimeoutMin
      • firstElectionTimeoutMax

        public long firstElectionTimeoutMax
      • schemaRegionRatisLogMax

        public long schemaRegionRatisLogMax
      • dataRegionRatisLogMax

        public long dataRegionRatisLogMax
      • dataRegionGrpcLeaderOutstandingAppendsMax

        public int dataRegionGrpcLeaderOutstandingAppendsMax
      • dataRegionLogForceSyncNum

        public int dataRegionLogForceSyncNum
      • schemaRegionGrpcLeaderOutstandingAppendsMax

        public int schemaRegionGrpcLeaderOutstandingAppendsMax
      • schemaRegionLogForceSyncNum

        public int schemaRegionLogForceSyncNum
      • schemaRegionPeriodicSnapshotInterval

        public long schemaRegionPeriodicSnapshotInterval
      • dataRegionPeriodicSnapshotInterval

        public long dataRegionPeriodicSnapshotInterval
      • metaDataMap

        public static final Map<TRatisConfig._Fields,​org.apache.thrift.meta_data.FieldMetaData> metaDataMap
    • Constructor Detail

      • TRatisConfig

        public TRatisConfig()
      • TRatisConfig

        public TRatisConfig​(long schemaAppenderBufferSize,
                            long dataAppenderBufferSize,
                            long schemaSnapshotTriggerThreshold,
                            long dataSnapshotTriggerThreshold,
                            boolean schemaLogUnsafeFlushEnable,
                            boolean dataLogUnsafeFlushEnable,
                            long schemaLogSegmentSizeMax,
                            long dataLogSegmentSizeMax,
                            long schemaGrpcFlowControlWindow,
                            long dataGrpcFlowControlWindow,
                            long schemaLeaderElectionTimeoutMin,
                            long dataLeaderElectionTimeoutMin,
                            long schemaLeaderElectionTimeoutMax,
                            long dataLeaderElectionTimeoutMax,
                            long schemaRequestTimeout,
                            long dataRequestTimeout,
                            int schemaMaxRetryAttempts,
                            int dataMaxRetryAttempts,
                            long schemaInitialSleepTime,
                            long dataInitialSleepTime,
                            long schemaMaxSleepTime,
                            long dataMaxSleepTime,
                            long schemaPreserveWhenPurge,
                            long dataPreserveWhenPurge,
                            long firstElectionTimeoutMin,
                            long firstElectionTimeoutMax,
                            long schemaRegionRatisLogMax,
                            long dataRegionRatisLogMax,
                            int dataRegionGrpcLeaderOutstandingAppendsMax,
                            int dataRegionLogForceSyncNum,
                            int schemaRegionGrpcLeaderOutstandingAppendsMax,
                            int schemaRegionLogForceSyncNum,
                            long schemaRegionPeriodicSnapshotInterval,
                            long dataRegionPeriodicSnapshotInterval)
      • TRatisConfig

        public TRatisConfig​(TRatisConfig other)
        Performs a deep copy on other.
    • Method Detail

      • getSchemaAppenderBufferSize

        public long getSchemaAppenderBufferSize()
      • setSchemaAppenderBufferSize

        public TRatisConfig setSchemaAppenderBufferSize​(long schemaAppenderBufferSize)
      • unsetSchemaAppenderBufferSize

        public void unsetSchemaAppenderBufferSize()
      • isSetSchemaAppenderBufferSize

        public boolean isSetSchemaAppenderBufferSize()
        Returns true if field schemaAppenderBufferSize is set (has been assigned a value) and false otherwise
      • setSchemaAppenderBufferSizeIsSet

        public void setSchemaAppenderBufferSizeIsSet​(boolean value)
      • getDataAppenderBufferSize

        public long getDataAppenderBufferSize()
      • setDataAppenderBufferSize

        public TRatisConfig setDataAppenderBufferSize​(long dataAppenderBufferSize)
      • unsetDataAppenderBufferSize

        public void unsetDataAppenderBufferSize()
      • isSetDataAppenderBufferSize

        public boolean isSetDataAppenderBufferSize()
        Returns true if field dataAppenderBufferSize is set (has been assigned a value) and false otherwise
      • setDataAppenderBufferSizeIsSet

        public void setDataAppenderBufferSizeIsSet​(boolean value)
      • getSchemaSnapshotTriggerThreshold

        public long getSchemaSnapshotTriggerThreshold()
      • setSchemaSnapshotTriggerThreshold

        public TRatisConfig setSchemaSnapshotTriggerThreshold​(long schemaSnapshotTriggerThreshold)
      • unsetSchemaSnapshotTriggerThreshold

        public void unsetSchemaSnapshotTriggerThreshold()
      • isSetSchemaSnapshotTriggerThreshold

        public boolean isSetSchemaSnapshotTriggerThreshold()
        Returns true if field schemaSnapshotTriggerThreshold is set (has been assigned a value) and false otherwise
      • setSchemaSnapshotTriggerThresholdIsSet

        public void setSchemaSnapshotTriggerThresholdIsSet​(boolean value)
      • getDataSnapshotTriggerThreshold

        public long getDataSnapshotTriggerThreshold()
      • setDataSnapshotTriggerThreshold

        public TRatisConfig setDataSnapshotTriggerThreshold​(long dataSnapshotTriggerThreshold)
      • unsetDataSnapshotTriggerThreshold

        public void unsetDataSnapshotTriggerThreshold()
      • isSetDataSnapshotTriggerThreshold

        public boolean isSetDataSnapshotTriggerThreshold()
        Returns true if field dataSnapshotTriggerThreshold is set (has been assigned a value) and false otherwise
      • setDataSnapshotTriggerThresholdIsSet

        public void setDataSnapshotTriggerThresholdIsSet​(boolean value)
      • isSchemaLogUnsafeFlushEnable

        public boolean isSchemaLogUnsafeFlushEnable()
      • setSchemaLogUnsafeFlushEnable

        public TRatisConfig setSchemaLogUnsafeFlushEnable​(boolean schemaLogUnsafeFlushEnable)
      • unsetSchemaLogUnsafeFlushEnable

        public void unsetSchemaLogUnsafeFlushEnable()
      • isSetSchemaLogUnsafeFlushEnable

        public boolean isSetSchemaLogUnsafeFlushEnable()
        Returns true if field schemaLogUnsafeFlushEnable is set (has been assigned a value) and false otherwise
      • setSchemaLogUnsafeFlushEnableIsSet

        public void setSchemaLogUnsafeFlushEnableIsSet​(boolean value)
      • isDataLogUnsafeFlushEnable

        public boolean isDataLogUnsafeFlushEnable()
      • setDataLogUnsafeFlushEnable

        public TRatisConfig setDataLogUnsafeFlushEnable​(boolean dataLogUnsafeFlushEnable)
      • unsetDataLogUnsafeFlushEnable

        public void unsetDataLogUnsafeFlushEnable()
      • isSetDataLogUnsafeFlushEnable

        public boolean isSetDataLogUnsafeFlushEnable()
        Returns true if field dataLogUnsafeFlushEnable is set (has been assigned a value) and false otherwise
      • setDataLogUnsafeFlushEnableIsSet

        public void setDataLogUnsafeFlushEnableIsSet​(boolean value)
      • getSchemaLogSegmentSizeMax

        public long getSchemaLogSegmentSizeMax()
      • setSchemaLogSegmentSizeMax

        public TRatisConfig setSchemaLogSegmentSizeMax​(long schemaLogSegmentSizeMax)
      • unsetSchemaLogSegmentSizeMax

        public void unsetSchemaLogSegmentSizeMax()
      • isSetSchemaLogSegmentSizeMax

        public boolean isSetSchemaLogSegmentSizeMax()
        Returns true if field schemaLogSegmentSizeMax is set (has been assigned a value) and false otherwise
      • setSchemaLogSegmentSizeMaxIsSet

        public void setSchemaLogSegmentSizeMaxIsSet​(boolean value)
      • getDataLogSegmentSizeMax

        public long getDataLogSegmentSizeMax()
      • setDataLogSegmentSizeMax

        public TRatisConfig setDataLogSegmentSizeMax​(long dataLogSegmentSizeMax)
      • unsetDataLogSegmentSizeMax

        public void unsetDataLogSegmentSizeMax()
      • isSetDataLogSegmentSizeMax

        public boolean isSetDataLogSegmentSizeMax()
        Returns true if field dataLogSegmentSizeMax is set (has been assigned a value) and false otherwise
      • setDataLogSegmentSizeMaxIsSet

        public void setDataLogSegmentSizeMaxIsSet​(boolean value)
      • getSchemaGrpcFlowControlWindow

        public long getSchemaGrpcFlowControlWindow()
      • setSchemaGrpcFlowControlWindow

        public TRatisConfig setSchemaGrpcFlowControlWindow​(long schemaGrpcFlowControlWindow)
      • unsetSchemaGrpcFlowControlWindow

        public void unsetSchemaGrpcFlowControlWindow()
      • isSetSchemaGrpcFlowControlWindow

        public boolean isSetSchemaGrpcFlowControlWindow()
        Returns true if field schemaGrpcFlowControlWindow is set (has been assigned a value) and false otherwise
      • setSchemaGrpcFlowControlWindowIsSet

        public void setSchemaGrpcFlowControlWindowIsSet​(boolean value)
      • getDataGrpcFlowControlWindow

        public long getDataGrpcFlowControlWindow()
      • setDataGrpcFlowControlWindow

        public TRatisConfig setDataGrpcFlowControlWindow​(long dataGrpcFlowControlWindow)
      • unsetDataGrpcFlowControlWindow

        public void unsetDataGrpcFlowControlWindow()
      • isSetDataGrpcFlowControlWindow

        public boolean isSetDataGrpcFlowControlWindow()
        Returns true if field dataGrpcFlowControlWindow is set (has been assigned a value) and false otherwise
      • setDataGrpcFlowControlWindowIsSet

        public void setDataGrpcFlowControlWindowIsSet​(boolean value)
      • getSchemaLeaderElectionTimeoutMin

        public long getSchemaLeaderElectionTimeoutMin()
      • setSchemaLeaderElectionTimeoutMin

        public TRatisConfig setSchemaLeaderElectionTimeoutMin​(long schemaLeaderElectionTimeoutMin)
      • unsetSchemaLeaderElectionTimeoutMin

        public void unsetSchemaLeaderElectionTimeoutMin()
      • isSetSchemaLeaderElectionTimeoutMin

        public boolean isSetSchemaLeaderElectionTimeoutMin()
        Returns true if field schemaLeaderElectionTimeoutMin is set (has been assigned a value) and false otherwise
      • setSchemaLeaderElectionTimeoutMinIsSet

        public void setSchemaLeaderElectionTimeoutMinIsSet​(boolean value)
      • getDataLeaderElectionTimeoutMin

        public long getDataLeaderElectionTimeoutMin()
      • setDataLeaderElectionTimeoutMin

        public TRatisConfig setDataLeaderElectionTimeoutMin​(long dataLeaderElectionTimeoutMin)
      • unsetDataLeaderElectionTimeoutMin

        public void unsetDataLeaderElectionTimeoutMin()
      • isSetDataLeaderElectionTimeoutMin

        public boolean isSetDataLeaderElectionTimeoutMin()
        Returns true if field dataLeaderElectionTimeoutMin is set (has been assigned a value) and false otherwise
      • setDataLeaderElectionTimeoutMinIsSet

        public void setDataLeaderElectionTimeoutMinIsSet​(boolean value)
      • getSchemaLeaderElectionTimeoutMax

        public long getSchemaLeaderElectionTimeoutMax()
      • setSchemaLeaderElectionTimeoutMax

        public TRatisConfig setSchemaLeaderElectionTimeoutMax​(long schemaLeaderElectionTimeoutMax)
      • unsetSchemaLeaderElectionTimeoutMax

        public void unsetSchemaLeaderElectionTimeoutMax()
      • isSetSchemaLeaderElectionTimeoutMax

        public boolean isSetSchemaLeaderElectionTimeoutMax()
        Returns true if field schemaLeaderElectionTimeoutMax is set (has been assigned a value) and false otherwise
      • setSchemaLeaderElectionTimeoutMaxIsSet

        public void setSchemaLeaderElectionTimeoutMaxIsSet​(boolean value)
      • getDataLeaderElectionTimeoutMax

        public long getDataLeaderElectionTimeoutMax()
      • setDataLeaderElectionTimeoutMax

        public TRatisConfig setDataLeaderElectionTimeoutMax​(long dataLeaderElectionTimeoutMax)
      • unsetDataLeaderElectionTimeoutMax

        public void unsetDataLeaderElectionTimeoutMax()
      • isSetDataLeaderElectionTimeoutMax

        public boolean isSetDataLeaderElectionTimeoutMax()
        Returns true if field dataLeaderElectionTimeoutMax is set (has been assigned a value) and false otherwise
      • setDataLeaderElectionTimeoutMaxIsSet

        public void setDataLeaderElectionTimeoutMaxIsSet​(boolean value)
      • getSchemaRequestTimeout

        public long getSchemaRequestTimeout()
      • setSchemaRequestTimeout

        public TRatisConfig setSchemaRequestTimeout​(long schemaRequestTimeout)
      • unsetSchemaRequestTimeout

        public void unsetSchemaRequestTimeout()
      • isSetSchemaRequestTimeout

        public boolean isSetSchemaRequestTimeout()
        Returns true if field schemaRequestTimeout is set (has been assigned a value) and false otherwise
      • setSchemaRequestTimeoutIsSet

        public void setSchemaRequestTimeoutIsSet​(boolean value)
      • getDataRequestTimeout

        public long getDataRequestTimeout()
      • setDataRequestTimeout

        public TRatisConfig setDataRequestTimeout​(long dataRequestTimeout)
      • unsetDataRequestTimeout

        public void unsetDataRequestTimeout()
      • isSetDataRequestTimeout

        public boolean isSetDataRequestTimeout()
        Returns true if field dataRequestTimeout is set (has been assigned a value) and false otherwise
      • setDataRequestTimeoutIsSet

        public void setDataRequestTimeoutIsSet​(boolean value)
      • getSchemaMaxRetryAttempts

        public int getSchemaMaxRetryAttempts()
      • setSchemaMaxRetryAttempts

        public TRatisConfig setSchemaMaxRetryAttempts​(int schemaMaxRetryAttempts)
      • unsetSchemaMaxRetryAttempts

        public void unsetSchemaMaxRetryAttempts()
      • isSetSchemaMaxRetryAttempts

        public boolean isSetSchemaMaxRetryAttempts()
        Returns true if field schemaMaxRetryAttempts is set (has been assigned a value) and false otherwise
      • setSchemaMaxRetryAttemptsIsSet

        public void setSchemaMaxRetryAttemptsIsSet​(boolean value)
      • getDataMaxRetryAttempts

        public int getDataMaxRetryAttempts()
      • setDataMaxRetryAttempts

        public TRatisConfig setDataMaxRetryAttempts​(int dataMaxRetryAttempts)
      • unsetDataMaxRetryAttempts

        public void unsetDataMaxRetryAttempts()
      • isSetDataMaxRetryAttempts

        public boolean isSetDataMaxRetryAttempts()
        Returns true if field dataMaxRetryAttempts is set (has been assigned a value) and false otherwise
      • setDataMaxRetryAttemptsIsSet

        public void setDataMaxRetryAttemptsIsSet​(boolean value)
      • getSchemaInitialSleepTime

        public long getSchemaInitialSleepTime()
      • setSchemaInitialSleepTime

        public TRatisConfig setSchemaInitialSleepTime​(long schemaInitialSleepTime)
      • unsetSchemaInitialSleepTime

        public void unsetSchemaInitialSleepTime()
      • isSetSchemaInitialSleepTime

        public boolean isSetSchemaInitialSleepTime()
        Returns true if field schemaInitialSleepTime is set (has been assigned a value) and false otherwise
      • setSchemaInitialSleepTimeIsSet

        public void setSchemaInitialSleepTimeIsSet​(boolean value)
      • getDataInitialSleepTime

        public long getDataInitialSleepTime()
      • setDataInitialSleepTime

        public TRatisConfig setDataInitialSleepTime​(long dataInitialSleepTime)
      • unsetDataInitialSleepTime

        public void unsetDataInitialSleepTime()
      • isSetDataInitialSleepTime

        public boolean isSetDataInitialSleepTime()
        Returns true if field dataInitialSleepTime is set (has been assigned a value) and false otherwise
      • setDataInitialSleepTimeIsSet

        public void setDataInitialSleepTimeIsSet​(boolean value)
      • getSchemaMaxSleepTime

        public long getSchemaMaxSleepTime()
      • setSchemaMaxSleepTime

        public TRatisConfig setSchemaMaxSleepTime​(long schemaMaxSleepTime)
      • unsetSchemaMaxSleepTime

        public void unsetSchemaMaxSleepTime()
      • isSetSchemaMaxSleepTime

        public boolean isSetSchemaMaxSleepTime()
        Returns true if field schemaMaxSleepTime is set (has been assigned a value) and false otherwise
      • setSchemaMaxSleepTimeIsSet

        public void setSchemaMaxSleepTimeIsSet​(boolean value)
      • getDataMaxSleepTime

        public long getDataMaxSleepTime()
      • setDataMaxSleepTime

        public TRatisConfig setDataMaxSleepTime​(long dataMaxSleepTime)
      • unsetDataMaxSleepTime

        public void unsetDataMaxSleepTime()
      • isSetDataMaxSleepTime

        public boolean isSetDataMaxSleepTime()
        Returns true if field dataMaxSleepTime is set (has been assigned a value) and false otherwise
      • setDataMaxSleepTimeIsSet

        public void setDataMaxSleepTimeIsSet​(boolean value)
      • getSchemaPreserveWhenPurge

        public long getSchemaPreserveWhenPurge()
      • setSchemaPreserveWhenPurge

        public TRatisConfig setSchemaPreserveWhenPurge​(long schemaPreserveWhenPurge)
      • unsetSchemaPreserveWhenPurge

        public void unsetSchemaPreserveWhenPurge()
      • isSetSchemaPreserveWhenPurge

        public boolean isSetSchemaPreserveWhenPurge()
        Returns true if field schemaPreserveWhenPurge is set (has been assigned a value) and false otherwise
      • setSchemaPreserveWhenPurgeIsSet

        public void setSchemaPreserveWhenPurgeIsSet​(boolean value)
      • getDataPreserveWhenPurge

        public long getDataPreserveWhenPurge()
      • setDataPreserveWhenPurge

        public TRatisConfig setDataPreserveWhenPurge​(long dataPreserveWhenPurge)
      • unsetDataPreserveWhenPurge

        public void unsetDataPreserveWhenPurge()
      • isSetDataPreserveWhenPurge

        public boolean isSetDataPreserveWhenPurge()
        Returns true if field dataPreserveWhenPurge is set (has been assigned a value) and false otherwise
      • setDataPreserveWhenPurgeIsSet

        public void setDataPreserveWhenPurgeIsSet​(boolean value)
      • getFirstElectionTimeoutMin

        public long getFirstElectionTimeoutMin()
      • setFirstElectionTimeoutMin

        public TRatisConfig setFirstElectionTimeoutMin​(long firstElectionTimeoutMin)
      • unsetFirstElectionTimeoutMin

        public void unsetFirstElectionTimeoutMin()
      • isSetFirstElectionTimeoutMin

        public boolean isSetFirstElectionTimeoutMin()
        Returns true if field firstElectionTimeoutMin is set (has been assigned a value) and false otherwise
      • setFirstElectionTimeoutMinIsSet

        public void setFirstElectionTimeoutMinIsSet​(boolean value)
      • getFirstElectionTimeoutMax

        public long getFirstElectionTimeoutMax()
      • setFirstElectionTimeoutMax

        public TRatisConfig setFirstElectionTimeoutMax​(long firstElectionTimeoutMax)
      • unsetFirstElectionTimeoutMax

        public void unsetFirstElectionTimeoutMax()
      • isSetFirstElectionTimeoutMax

        public boolean isSetFirstElectionTimeoutMax()
        Returns true if field firstElectionTimeoutMax is set (has been assigned a value) and false otherwise
      • setFirstElectionTimeoutMaxIsSet

        public void setFirstElectionTimeoutMaxIsSet​(boolean value)
      • getSchemaRegionRatisLogMax

        public long getSchemaRegionRatisLogMax()
      • setSchemaRegionRatisLogMax

        public TRatisConfig setSchemaRegionRatisLogMax​(long schemaRegionRatisLogMax)
      • unsetSchemaRegionRatisLogMax

        public void unsetSchemaRegionRatisLogMax()
      • isSetSchemaRegionRatisLogMax

        public boolean isSetSchemaRegionRatisLogMax()
        Returns true if field schemaRegionRatisLogMax is set (has been assigned a value) and false otherwise
      • setSchemaRegionRatisLogMaxIsSet

        public void setSchemaRegionRatisLogMaxIsSet​(boolean value)
      • getDataRegionRatisLogMax

        public long getDataRegionRatisLogMax()
      • setDataRegionRatisLogMax

        public TRatisConfig setDataRegionRatisLogMax​(long dataRegionRatisLogMax)
      • unsetDataRegionRatisLogMax

        public void unsetDataRegionRatisLogMax()
      • isSetDataRegionRatisLogMax

        public boolean isSetDataRegionRatisLogMax()
        Returns true if field dataRegionRatisLogMax is set (has been assigned a value) and false otherwise
      • setDataRegionRatisLogMaxIsSet

        public void setDataRegionRatisLogMaxIsSet​(boolean value)
      • getDataRegionGrpcLeaderOutstandingAppendsMax

        public int getDataRegionGrpcLeaderOutstandingAppendsMax()
      • setDataRegionGrpcLeaderOutstandingAppendsMax

        public TRatisConfig setDataRegionGrpcLeaderOutstandingAppendsMax​(int dataRegionGrpcLeaderOutstandingAppendsMax)
      • unsetDataRegionGrpcLeaderOutstandingAppendsMax

        public void unsetDataRegionGrpcLeaderOutstandingAppendsMax()
      • isSetDataRegionGrpcLeaderOutstandingAppendsMax

        public boolean isSetDataRegionGrpcLeaderOutstandingAppendsMax()
        Returns true if field dataRegionGrpcLeaderOutstandingAppendsMax is set (has been assigned a value) and false otherwise
      • setDataRegionGrpcLeaderOutstandingAppendsMaxIsSet

        public void setDataRegionGrpcLeaderOutstandingAppendsMaxIsSet​(boolean value)
      • getDataRegionLogForceSyncNum

        public int getDataRegionLogForceSyncNum()
      • setDataRegionLogForceSyncNum

        public TRatisConfig setDataRegionLogForceSyncNum​(int dataRegionLogForceSyncNum)
      • unsetDataRegionLogForceSyncNum

        public void unsetDataRegionLogForceSyncNum()
      • isSetDataRegionLogForceSyncNum

        public boolean isSetDataRegionLogForceSyncNum()
        Returns true if field dataRegionLogForceSyncNum is set (has been assigned a value) and false otherwise
      • setDataRegionLogForceSyncNumIsSet

        public void setDataRegionLogForceSyncNumIsSet​(boolean value)
      • getSchemaRegionGrpcLeaderOutstandingAppendsMax

        public int getSchemaRegionGrpcLeaderOutstandingAppendsMax()
      • setSchemaRegionGrpcLeaderOutstandingAppendsMax

        public TRatisConfig setSchemaRegionGrpcLeaderOutstandingAppendsMax​(int schemaRegionGrpcLeaderOutstandingAppendsMax)
      • unsetSchemaRegionGrpcLeaderOutstandingAppendsMax

        public void unsetSchemaRegionGrpcLeaderOutstandingAppendsMax()
      • isSetSchemaRegionGrpcLeaderOutstandingAppendsMax

        public boolean isSetSchemaRegionGrpcLeaderOutstandingAppendsMax()
        Returns true if field schemaRegionGrpcLeaderOutstandingAppendsMax is set (has been assigned a value) and false otherwise
      • setSchemaRegionGrpcLeaderOutstandingAppendsMaxIsSet

        public void setSchemaRegionGrpcLeaderOutstandingAppendsMaxIsSet​(boolean value)
      • getSchemaRegionLogForceSyncNum

        public int getSchemaRegionLogForceSyncNum()
      • setSchemaRegionLogForceSyncNum

        public TRatisConfig setSchemaRegionLogForceSyncNum​(int schemaRegionLogForceSyncNum)
      • unsetSchemaRegionLogForceSyncNum

        public void unsetSchemaRegionLogForceSyncNum()
      • isSetSchemaRegionLogForceSyncNum

        public boolean isSetSchemaRegionLogForceSyncNum()
        Returns true if field schemaRegionLogForceSyncNum is set (has been assigned a value) and false otherwise
      • setSchemaRegionLogForceSyncNumIsSet

        public void setSchemaRegionLogForceSyncNumIsSet​(boolean value)
      • getSchemaRegionPeriodicSnapshotInterval

        public long getSchemaRegionPeriodicSnapshotInterval()
      • setSchemaRegionPeriodicSnapshotInterval

        public TRatisConfig setSchemaRegionPeriodicSnapshotInterval​(long schemaRegionPeriodicSnapshotInterval)
      • unsetSchemaRegionPeriodicSnapshotInterval

        public void unsetSchemaRegionPeriodicSnapshotInterval()
      • isSetSchemaRegionPeriodicSnapshotInterval

        public boolean isSetSchemaRegionPeriodicSnapshotInterval()
        Returns true if field schemaRegionPeriodicSnapshotInterval is set (has been assigned a value) and false otherwise
      • setSchemaRegionPeriodicSnapshotIntervalIsSet

        public void setSchemaRegionPeriodicSnapshotIntervalIsSet​(boolean value)
      • getDataRegionPeriodicSnapshotInterval

        public long getDataRegionPeriodicSnapshotInterval()
      • setDataRegionPeriodicSnapshotInterval

        public TRatisConfig setDataRegionPeriodicSnapshotInterval​(long dataRegionPeriodicSnapshotInterval)
      • unsetDataRegionPeriodicSnapshotInterval

        public void unsetDataRegionPeriodicSnapshotInterval()
      • isSetDataRegionPeriodicSnapshotInterval

        public boolean isSetDataRegionPeriodicSnapshotInterval()
        Returns true if field dataRegionPeriodicSnapshotInterval is set (has been assigned a value) and false otherwise
      • setDataRegionPeriodicSnapshotIntervalIsSet

        public void setDataRegionPeriodicSnapshotIntervalIsSet​(boolean value)
      • isSet

        public boolean isSet​(TRatisConfig._Fields field)
        Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
        Specified by:
        isSet in interface org.apache.thrift.TBase<TRatisConfig,​TRatisConfig._Fields>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • read

        public void read​(org.apache.thrift.protocol.TProtocol iprot)
                  throws org.apache.thrift.TException
        Specified by:
        read in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • write

        public void write​(org.apache.thrift.protocol.TProtocol oprot)
                   throws org.apache.thrift.TException
        Specified by:
        write in interface org.apache.thrift.TSerializable
        Throws:
        org.apache.thrift.TException
      • validate

        public void validate()
                      throws org.apache.thrift.TException
        Throws:
        org.apache.thrift.TException