Enum TRatisConfig._Fields
- java.lang.Object
-
- java.lang.Enum<TRatisConfig._Fields>
-
- org.apache.iotdb.confignode.rpc.thrift.TRatisConfig._Fields
-
- All Implemented Interfaces:
Serializable,Comparable<TRatisConfig._Fields>,org.apache.thrift.TFieldIdEnum
- Enclosing class:
- TRatisConfig
public static enum TRatisConfig._Fields extends Enum<TRatisConfig._Fields> implements org.apache.thrift.TFieldIdEnum
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TRatisConfig._FieldsfindByName(String name)Find the _Fields constant that matches name, or null if its not found.static TRatisConfig._FieldsfindByThriftId(int fieldId)Find the _Fields constant that matches fieldId, or null if its not found.static TRatisConfig._FieldsfindByThriftIdOrThrow(int fieldId)Find the _Fields constant that matches fieldId, throwing an exception if it is not found.StringgetFieldName()shortgetThriftFieldId()static TRatisConfig._FieldsvalueOf(String name)Returns the enum constant of this type with the specified name.static TRatisConfig._Fields[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCHEMA_APPENDER_BUFFER_SIZE
public static final TRatisConfig._Fields SCHEMA_APPENDER_BUFFER_SIZE
-
DATA_APPENDER_BUFFER_SIZE
public static final TRatisConfig._Fields DATA_APPENDER_BUFFER_SIZE
-
SCHEMA_SNAPSHOT_TRIGGER_THRESHOLD
public static final TRatisConfig._Fields SCHEMA_SNAPSHOT_TRIGGER_THRESHOLD
-
DATA_SNAPSHOT_TRIGGER_THRESHOLD
public static final TRatisConfig._Fields DATA_SNAPSHOT_TRIGGER_THRESHOLD
-
SCHEMA_LOG_UNSAFE_FLUSH_ENABLE
public static final TRatisConfig._Fields SCHEMA_LOG_UNSAFE_FLUSH_ENABLE
-
DATA_LOG_UNSAFE_FLUSH_ENABLE
public static final TRatisConfig._Fields DATA_LOG_UNSAFE_FLUSH_ENABLE
-
SCHEMA_LOG_SEGMENT_SIZE_MAX
public static final TRatisConfig._Fields SCHEMA_LOG_SEGMENT_SIZE_MAX
-
DATA_LOG_SEGMENT_SIZE_MAX
public static final TRatisConfig._Fields DATA_LOG_SEGMENT_SIZE_MAX
-
SCHEMA_GRPC_FLOW_CONTROL_WINDOW
public static final TRatisConfig._Fields SCHEMA_GRPC_FLOW_CONTROL_WINDOW
-
DATA_GRPC_FLOW_CONTROL_WINDOW
public static final TRatisConfig._Fields DATA_GRPC_FLOW_CONTROL_WINDOW
-
SCHEMA_LEADER_ELECTION_TIMEOUT_MIN
public static final TRatisConfig._Fields SCHEMA_LEADER_ELECTION_TIMEOUT_MIN
-
DATA_LEADER_ELECTION_TIMEOUT_MIN
public static final TRatisConfig._Fields DATA_LEADER_ELECTION_TIMEOUT_MIN
-
SCHEMA_LEADER_ELECTION_TIMEOUT_MAX
public static final TRatisConfig._Fields SCHEMA_LEADER_ELECTION_TIMEOUT_MAX
-
DATA_LEADER_ELECTION_TIMEOUT_MAX
public static final TRatisConfig._Fields DATA_LEADER_ELECTION_TIMEOUT_MAX
-
SCHEMA_REQUEST_TIMEOUT
public static final TRatisConfig._Fields SCHEMA_REQUEST_TIMEOUT
-
DATA_REQUEST_TIMEOUT
public static final TRatisConfig._Fields DATA_REQUEST_TIMEOUT
-
SCHEMA_MAX_RETRY_ATTEMPTS
public static final TRatisConfig._Fields SCHEMA_MAX_RETRY_ATTEMPTS
-
DATA_MAX_RETRY_ATTEMPTS
public static final TRatisConfig._Fields DATA_MAX_RETRY_ATTEMPTS
-
SCHEMA_INITIAL_SLEEP_TIME
public static final TRatisConfig._Fields SCHEMA_INITIAL_SLEEP_TIME
-
DATA_INITIAL_SLEEP_TIME
public static final TRatisConfig._Fields DATA_INITIAL_SLEEP_TIME
-
SCHEMA_MAX_SLEEP_TIME
public static final TRatisConfig._Fields SCHEMA_MAX_SLEEP_TIME
-
DATA_MAX_SLEEP_TIME
public static final TRatisConfig._Fields DATA_MAX_SLEEP_TIME
-
SCHEMA_PRESERVE_WHEN_PURGE
public static final TRatisConfig._Fields SCHEMA_PRESERVE_WHEN_PURGE
-
DATA_PRESERVE_WHEN_PURGE
public static final TRatisConfig._Fields DATA_PRESERVE_WHEN_PURGE
-
FIRST_ELECTION_TIMEOUT_MIN
public static final TRatisConfig._Fields FIRST_ELECTION_TIMEOUT_MIN
-
FIRST_ELECTION_TIMEOUT_MAX
public static final TRatisConfig._Fields FIRST_ELECTION_TIMEOUT_MAX
-
SCHEMA_REGION_RATIS_LOG_MAX
public static final TRatisConfig._Fields SCHEMA_REGION_RATIS_LOG_MAX
-
DATA_REGION_RATIS_LOG_MAX
public static final TRatisConfig._Fields DATA_REGION_RATIS_LOG_MAX
-
DATA_REGION_GRPC_LEADER_OUTSTANDING_APPENDS_MAX
public static final TRatisConfig._Fields DATA_REGION_GRPC_LEADER_OUTSTANDING_APPENDS_MAX
-
DATA_REGION_LOG_FORCE_SYNC_NUM
public static final TRatisConfig._Fields DATA_REGION_LOG_FORCE_SYNC_NUM
-
SCHEMA_REGION_GRPC_LEADER_OUTSTANDING_APPENDS_MAX
public static final TRatisConfig._Fields SCHEMA_REGION_GRPC_LEADER_OUTSTANDING_APPENDS_MAX
-
SCHEMA_REGION_LOG_FORCE_SYNC_NUM
public static final TRatisConfig._Fields SCHEMA_REGION_LOG_FORCE_SYNC_NUM
-
SCHEMA_REGION_PERIODIC_SNAPSHOT_INTERVAL
public static final TRatisConfig._Fields SCHEMA_REGION_PERIODIC_SNAPSHOT_INTERVAL
-
DATA_REGION_PERIODIC_SNAPSHOT_INTERVAL
public static final TRatisConfig._Fields DATA_REGION_PERIODIC_SNAPSHOT_INTERVAL
-
-
Method Detail
-
values
public static TRatisConfig._Fields[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TRatisConfig._Fields c : TRatisConfig._Fields.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TRatisConfig._Fields valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
findByThriftId
public static TRatisConfig._Fields findByThriftId(int fieldId)
Find the _Fields constant that matches fieldId, or null if its not found.
-
findByThriftIdOrThrow
public static TRatisConfig._Fields findByThriftIdOrThrow(int fieldId)
Find the _Fields constant that matches fieldId, throwing an exception if it is not found.
-
findByName
public static TRatisConfig._Fields findByName(String name)
Find the _Fields constant that matches name, or null if its not found.
-
getThriftFieldId
public short getThriftFieldId()
- Specified by:
getThriftFieldIdin interfaceorg.apache.thrift.TFieldIdEnum
-
getFieldName
public String getFieldName()
- Specified by:
getFieldNamein interfaceorg.apache.thrift.TFieldIdEnum
-
-