Class TRatisConfig
- java.lang.Object
-
- org.apache.iotdb.confignode.rpc.thrift.TRatisConfig
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TRatisConfig>,org.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>,org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)", date="2024-04-19") public class TRatisConfig extends Object implements org.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>, Serializable, Cloneable, Comparable<TRatisConfig>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTRatisConfig._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TRatisConfig()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(TRatisConfig other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TRatisConfig other)TRatisConfigdeepCopy()booleanequals(Object that)booleanequals(TRatisConfig that)TRatisConfig._FieldsfieldForId(int fieldId)longgetDataAppenderBufferSize()longgetDataGrpcFlowControlWindow()longgetDataInitialSleepTime()longgetDataLeaderElectionTimeoutMax()longgetDataLeaderElectionTimeoutMin()longgetDataLogSegmentSizeMax()intgetDataMaxRetryAttempts()longgetDataMaxSleepTime()longgetDataPreserveWhenPurge()intgetDataRegionGrpcLeaderOutstandingAppendsMax()intgetDataRegionLogForceSyncNum()longgetDataRegionPeriodicSnapshotInterval()longgetDataRegionRatisLogMax()longgetDataRequestTimeout()longgetDataSnapshotTriggerThreshold()ObjectgetFieldValue(TRatisConfig._Fields field)longgetFirstElectionTimeoutMax()longgetFirstElectionTimeoutMin()longgetSchemaAppenderBufferSize()longgetSchemaGrpcFlowControlWindow()longgetSchemaInitialSleepTime()longgetSchemaLeaderElectionTimeoutMax()longgetSchemaLeaderElectionTimeoutMin()longgetSchemaLogSegmentSizeMax()intgetSchemaMaxRetryAttempts()longgetSchemaMaxSleepTime()longgetSchemaPreserveWhenPurge()intgetSchemaRegionGrpcLeaderOutstandingAppendsMax()intgetSchemaRegionLogForceSyncNum()longgetSchemaRegionPeriodicSnapshotInterval()longgetSchemaRegionRatisLogMax()longgetSchemaRequestTimeout()longgetSchemaSnapshotTriggerThreshold()inthashCode()booleanisDataLogUnsafeFlushEnable()booleanisSchemaLogUnsafeFlushEnable()booleanisSet(TRatisConfig._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetDataAppenderBufferSize()Returns true if field dataAppenderBufferSize is set (has been assigned a value) and false otherwisebooleanisSetDataGrpcFlowControlWindow()Returns true if field dataGrpcFlowControlWindow is set (has been assigned a value) and false otherwisebooleanisSetDataInitialSleepTime()Returns true if field dataInitialSleepTime is set (has been assigned a value) and false otherwisebooleanisSetDataLeaderElectionTimeoutMax()Returns true if field dataLeaderElectionTimeoutMax is set (has been assigned a value) and false otherwisebooleanisSetDataLeaderElectionTimeoutMin()Returns true if field dataLeaderElectionTimeoutMin is set (has been assigned a value) and false otherwisebooleanisSetDataLogSegmentSizeMax()Returns true if field dataLogSegmentSizeMax is set (has been assigned a value) and false otherwisebooleanisSetDataLogUnsafeFlushEnable()Returns true if field dataLogUnsafeFlushEnable is set (has been assigned a value) and false otherwisebooleanisSetDataMaxRetryAttempts()Returns true if field dataMaxRetryAttempts is set (has been assigned a value) and false otherwisebooleanisSetDataMaxSleepTime()Returns true if field dataMaxSleepTime is set (has been assigned a value) and false otherwisebooleanisSetDataPreserveWhenPurge()Returns true if field dataPreserveWhenPurge is set (has been assigned a value) and false otherwisebooleanisSetDataRegionGrpcLeaderOutstandingAppendsMax()Returns true if field dataRegionGrpcLeaderOutstandingAppendsMax is set (has been assigned a value) and false otherwisebooleanisSetDataRegionLogForceSyncNum()Returns true if field dataRegionLogForceSyncNum is set (has been assigned a value) and false otherwisebooleanisSetDataRegionPeriodicSnapshotInterval()Returns true if field dataRegionPeriodicSnapshotInterval is set (has been assigned a value) and false otherwisebooleanisSetDataRegionRatisLogMax()Returns true if field dataRegionRatisLogMax is set (has been assigned a value) and false otherwisebooleanisSetDataRequestTimeout()Returns true if field dataRequestTimeout is set (has been assigned a value) and false otherwisebooleanisSetDataSnapshotTriggerThreshold()Returns true if field dataSnapshotTriggerThreshold is set (has been assigned a value) and false otherwisebooleanisSetFirstElectionTimeoutMax()Returns true if field firstElectionTimeoutMax is set (has been assigned a value) and false otherwisebooleanisSetFirstElectionTimeoutMin()Returns true if field firstElectionTimeoutMin is set (has been assigned a value) and false otherwisebooleanisSetSchemaAppenderBufferSize()Returns true if field schemaAppenderBufferSize is set (has been assigned a value) and false otherwisebooleanisSetSchemaGrpcFlowControlWindow()Returns true if field schemaGrpcFlowControlWindow is set (has been assigned a value) and false otherwisebooleanisSetSchemaInitialSleepTime()Returns true if field schemaInitialSleepTime is set (has been assigned a value) and false otherwisebooleanisSetSchemaLeaderElectionTimeoutMax()Returns true if field schemaLeaderElectionTimeoutMax is set (has been assigned a value) and false otherwisebooleanisSetSchemaLeaderElectionTimeoutMin()Returns true if field schemaLeaderElectionTimeoutMin is set (has been assigned a value) and false otherwisebooleanisSetSchemaLogSegmentSizeMax()Returns true if field schemaLogSegmentSizeMax is set (has been assigned a value) and false otherwisebooleanisSetSchemaLogUnsafeFlushEnable()Returns true if field schemaLogUnsafeFlushEnable is set (has been assigned a value) and false otherwisebooleanisSetSchemaMaxRetryAttempts()Returns true if field schemaMaxRetryAttempts is set (has been assigned a value) and false otherwisebooleanisSetSchemaMaxSleepTime()Returns true if field schemaMaxSleepTime is set (has been assigned a value) and false otherwisebooleanisSetSchemaPreserveWhenPurge()Returns true if field schemaPreserveWhenPurge is set (has been assigned a value) and false otherwisebooleanisSetSchemaRegionGrpcLeaderOutstandingAppendsMax()Returns true if field schemaRegionGrpcLeaderOutstandingAppendsMax is set (has been assigned a value) and false otherwisebooleanisSetSchemaRegionLogForceSyncNum()Returns true if field schemaRegionLogForceSyncNum is set (has been assigned a value) and false otherwisebooleanisSetSchemaRegionPeriodicSnapshotInterval()Returns true if field schemaRegionPeriodicSnapshotInterval is set (has been assigned a value) and false otherwisebooleanisSetSchemaRegionRatisLogMax()Returns true if field schemaRegionRatisLogMax is set (has been assigned a value) and false otherwisebooleanisSetSchemaRequestTimeout()Returns true if field schemaRequestTimeout is set (has been assigned a value) and false otherwisebooleanisSetSchemaSnapshotTriggerThreshold()Returns true if field schemaSnapshotTriggerThreshold is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)TRatisConfigsetDataAppenderBufferSize(long dataAppenderBufferSize)voidsetDataAppenderBufferSizeIsSet(boolean value)TRatisConfigsetDataGrpcFlowControlWindow(long dataGrpcFlowControlWindow)voidsetDataGrpcFlowControlWindowIsSet(boolean value)TRatisConfigsetDataInitialSleepTime(long dataInitialSleepTime)voidsetDataInitialSleepTimeIsSet(boolean value)TRatisConfigsetDataLeaderElectionTimeoutMax(long dataLeaderElectionTimeoutMax)voidsetDataLeaderElectionTimeoutMaxIsSet(boolean value)TRatisConfigsetDataLeaderElectionTimeoutMin(long dataLeaderElectionTimeoutMin)voidsetDataLeaderElectionTimeoutMinIsSet(boolean value)TRatisConfigsetDataLogSegmentSizeMax(long dataLogSegmentSizeMax)voidsetDataLogSegmentSizeMaxIsSet(boolean value)TRatisConfigsetDataLogUnsafeFlushEnable(boolean dataLogUnsafeFlushEnable)voidsetDataLogUnsafeFlushEnableIsSet(boolean value)TRatisConfigsetDataMaxRetryAttempts(int dataMaxRetryAttempts)voidsetDataMaxRetryAttemptsIsSet(boolean value)TRatisConfigsetDataMaxSleepTime(long dataMaxSleepTime)voidsetDataMaxSleepTimeIsSet(boolean value)TRatisConfigsetDataPreserveWhenPurge(long dataPreserveWhenPurge)voidsetDataPreserveWhenPurgeIsSet(boolean value)TRatisConfigsetDataRegionGrpcLeaderOutstandingAppendsMax(int dataRegionGrpcLeaderOutstandingAppendsMax)voidsetDataRegionGrpcLeaderOutstandingAppendsMaxIsSet(boolean value)TRatisConfigsetDataRegionLogForceSyncNum(int dataRegionLogForceSyncNum)voidsetDataRegionLogForceSyncNumIsSet(boolean value)TRatisConfigsetDataRegionPeriodicSnapshotInterval(long dataRegionPeriodicSnapshotInterval)voidsetDataRegionPeriodicSnapshotIntervalIsSet(boolean value)TRatisConfigsetDataRegionRatisLogMax(long dataRegionRatisLogMax)voidsetDataRegionRatisLogMaxIsSet(boolean value)TRatisConfigsetDataRequestTimeout(long dataRequestTimeout)voidsetDataRequestTimeoutIsSet(boolean value)TRatisConfigsetDataSnapshotTriggerThreshold(long dataSnapshotTriggerThreshold)voidsetDataSnapshotTriggerThresholdIsSet(boolean value)voidsetFieldValue(TRatisConfig._Fields field, Object value)TRatisConfigsetFirstElectionTimeoutMax(long firstElectionTimeoutMax)voidsetFirstElectionTimeoutMaxIsSet(boolean value)TRatisConfigsetFirstElectionTimeoutMin(long firstElectionTimeoutMin)voidsetFirstElectionTimeoutMinIsSet(boolean value)TRatisConfigsetSchemaAppenderBufferSize(long schemaAppenderBufferSize)voidsetSchemaAppenderBufferSizeIsSet(boolean value)TRatisConfigsetSchemaGrpcFlowControlWindow(long schemaGrpcFlowControlWindow)voidsetSchemaGrpcFlowControlWindowIsSet(boolean value)TRatisConfigsetSchemaInitialSleepTime(long schemaInitialSleepTime)voidsetSchemaInitialSleepTimeIsSet(boolean value)TRatisConfigsetSchemaLeaderElectionTimeoutMax(long schemaLeaderElectionTimeoutMax)voidsetSchemaLeaderElectionTimeoutMaxIsSet(boolean value)TRatisConfigsetSchemaLeaderElectionTimeoutMin(long schemaLeaderElectionTimeoutMin)voidsetSchemaLeaderElectionTimeoutMinIsSet(boolean value)TRatisConfigsetSchemaLogSegmentSizeMax(long schemaLogSegmentSizeMax)voidsetSchemaLogSegmentSizeMaxIsSet(boolean value)TRatisConfigsetSchemaLogUnsafeFlushEnable(boolean schemaLogUnsafeFlushEnable)voidsetSchemaLogUnsafeFlushEnableIsSet(boolean value)TRatisConfigsetSchemaMaxRetryAttempts(int schemaMaxRetryAttempts)voidsetSchemaMaxRetryAttemptsIsSet(boolean value)TRatisConfigsetSchemaMaxSleepTime(long schemaMaxSleepTime)voidsetSchemaMaxSleepTimeIsSet(boolean value)TRatisConfigsetSchemaPreserveWhenPurge(long schemaPreserveWhenPurge)voidsetSchemaPreserveWhenPurgeIsSet(boolean value)TRatisConfigsetSchemaRegionGrpcLeaderOutstandingAppendsMax(int schemaRegionGrpcLeaderOutstandingAppendsMax)voidsetSchemaRegionGrpcLeaderOutstandingAppendsMaxIsSet(boolean value)TRatisConfigsetSchemaRegionLogForceSyncNum(int schemaRegionLogForceSyncNum)voidsetSchemaRegionLogForceSyncNumIsSet(boolean value)TRatisConfigsetSchemaRegionPeriodicSnapshotInterval(long schemaRegionPeriodicSnapshotInterval)voidsetSchemaRegionPeriodicSnapshotIntervalIsSet(boolean value)TRatisConfigsetSchemaRegionRatisLogMax(long schemaRegionRatisLogMax)voidsetSchemaRegionRatisLogMaxIsSet(boolean value)TRatisConfigsetSchemaRequestTimeout(long schemaRequestTimeout)voidsetSchemaRequestTimeoutIsSet(boolean value)TRatisConfigsetSchemaSnapshotTriggerThreshold(long schemaSnapshotTriggerThreshold)voidsetSchemaSnapshotTriggerThresholdIsSet(boolean value)StringtoString()voidunsetDataAppenderBufferSize()voidunsetDataGrpcFlowControlWindow()voidunsetDataInitialSleepTime()voidunsetDataLeaderElectionTimeoutMax()voidunsetDataLeaderElectionTimeoutMin()voidunsetDataLogSegmentSizeMax()voidunsetDataLogUnsafeFlushEnable()voidunsetDataMaxRetryAttempts()voidunsetDataMaxSleepTime()voidunsetDataPreserveWhenPurge()voidunsetDataRegionGrpcLeaderOutstandingAppendsMax()voidunsetDataRegionLogForceSyncNum()voidunsetDataRegionPeriodicSnapshotInterval()voidunsetDataRegionRatisLogMax()voidunsetDataRequestTimeout()voidunsetDataSnapshotTriggerThreshold()voidunsetFirstElectionTimeoutMax()voidunsetFirstElectionTimeoutMin()voidunsetSchemaAppenderBufferSize()voidunsetSchemaGrpcFlowControlWindow()voidunsetSchemaInitialSleepTime()voidunsetSchemaLeaderElectionTimeoutMax()voidunsetSchemaLeaderElectionTimeoutMin()voidunsetSchemaLogSegmentSizeMax()voidunsetSchemaLogUnsafeFlushEnable()voidunsetSchemaMaxRetryAttempts()voidunsetSchemaMaxSleepTime()voidunsetSchemaPreserveWhenPurge()voidunsetSchemaRegionGrpcLeaderOutstandingAppendsMax()voidunsetSchemaRegionLogForceSyncNum()voidunsetSchemaRegionPeriodicSnapshotInterval()voidunsetSchemaRegionRatisLogMax()voidunsetSchemaRequestTimeout()voidunsetSchemaSnapshotTriggerThreshold()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
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
-
deepCopy
public TRatisConfig deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
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)
-
setFieldValue
public void setFieldValue(TRatisConfig._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
getFieldValue
public Object getFieldValue(TRatisConfig._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
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:
isSetin interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
equals
public boolean equals(TRatisConfig that)
-
compareTo
public int compareTo(TRatisConfig other)
- Specified by:
compareToin interfaceComparable<TRatisConfig>
-
fieldForId
public TRatisConfig._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TRatisConfig,TRatisConfig._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.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:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-