Class TThrottleQuota
java.lang.Object
org.apache.iotdb.common.rpc.thrift.TThrottleQuota
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TThrottleQuota>,org.apache.thrift.TBase<TThrottleQuota,,TThrottleQuota._Fields> org.apache.thrift.TSerializable
@Generated(value="Autogenerated by Thrift Compiler (0.14.1)",
date="2025-09-08")
public class TThrottleQuota
extends Object
implements org.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>, Serializable, Cloneable, Comparable<TThrottleQuota>
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionintlongstatic final Map<TThrottleQuota._Fields,org.apache.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TThrottleQuota other) deepCopy()booleanbooleanequals(TThrottleQuota that) fieldForId(int fieldId) intlongintinthashCode()booleanisSet(TThrottleQuota._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanReturns true if field cpuLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field memLimit is set (has been assigned a value) and false otherwisebooleanReturns true if field throttleLimit is set (has been assigned a value) and false otherwisevoidputToThrottleLimit(ThrottleType key, TTimedQuota val) voidread(org.apache.thrift.protocol.TProtocol iprot) setCpuLimit(int cpuLimit) voidsetCpuLimitIsSet(boolean value) voidsetFieldValue(TThrottleQuota._Fields field, Object value) setMemLimit(long memLimit) voidsetMemLimitIsSet(boolean value) setThrottleLimit(Map<ThrottleType, TTimedQuota> throttleLimit) voidsetThrottleLimitIsSet(boolean value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
Field Details
-
throttleLimit
-
memLimit
public long memLimit -
cpuLimit
public int cpuLimit -
metaDataMap
public static final Map<TThrottleQuota._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TThrottleQuota
public TThrottleQuota() -
TThrottleQuota
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>
-
getThrottleLimitSize
public int getThrottleLimitSize() -
putToThrottleLimit
-
getThrottleLimit
-
setThrottleLimit
-
unsetThrottleLimit
public void unsetThrottleLimit() -
isSetThrottleLimit
public boolean isSetThrottleLimit()Returns true if field throttleLimit is set (has been assigned a value) and false otherwise -
setThrottleLimitIsSet
public void setThrottleLimitIsSet(boolean value) -
getMemLimit
public long getMemLimit() -
setMemLimit
-
unsetMemLimit
public void unsetMemLimit() -
isSetMemLimit
public boolean isSetMemLimit()Returns true if field memLimit is set (has been assigned a value) and false otherwise -
setMemLimitIsSet
public void setMemLimitIsSet(boolean value) -
getCpuLimit
public int getCpuLimit() -
setCpuLimit
-
unsetCpuLimit
public void unsetCpuLimit() -
isSetCpuLimit
public boolean isSetCpuLimit()Returns true if field cpuLimit is set (has been assigned a value) and false otherwise -
setCpuLimitIsSet
public void setCpuLimitIsSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TThrottleQuota>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<TThrottleQuota,TThrottleQuota._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
-
toString
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-