@Generated(value="Autogenerated by Thrift Compiler (0.9.3)", date="2019-08-15") public class TaskListStatus extends java.lang.Object implements org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TaskListStatus>
Modifier and Type | Class and Description |
---|---|
static class |
TaskListStatus._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
long |
ackLevel |
long |
backlogCountHint |
static java.util.Map<TaskListStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
double |
ratePerSecond |
long |
readLevel |
TaskIDBlock |
taskIDBlock |
Constructor and Description |
---|
TaskListStatus() |
TaskListStatus(TaskListStatus other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(TaskListStatus other) |
TaskListStatus |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TaskListStatus that) |
TaskListStatus._Fields |
fieldForId(int fieldId) |
long |
getAckLevel() |
long |
getBacklogCountHint() |
java.lang.Object |
getFieldValue(TaskListStatus._Fields field) |
double |
getRatePerSecond() |
long |
getReadLevel() |
TaskIDBlock |
getTaskIDBlock() |
int |
hashCode() |
boolean |
isSet(TaskListStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAckLevel()
Returns true if field ackLevel is set (has been assigned a value) and false otherwise
|
boolean |
isSetBacklogCountHint()
Returns true if field backlogCountHint is set (has been assigned a value) and false otherwise
|
boolean |
isSetRatePerSecond()
Returns true if field ratePerSecond is set (has been assigned a value) and false otherwise
|
boolean |
isSetReadLevel()
Returns true if field readLevel is set (has been assigned a value) and false otherwise
|
boolean |
isSetTaskIDBlock()
Returns true if field taskIDBlock is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
TaskListStatus |
setAckLevel(long ackLevel) |
void |
setAckLevelIsSet(boolean value) |
TaskListStatus |
setBacklogCountHint(long backlogCountHint) |
void |
setBacklogCountHintIsSet(boolean value) |
void |
setFieldValue(TaskListStatus._Fields field,
java.lang.Object value) |
TaskListStatus |
setRatePerSecond(double ratePerSecond) |
void |
setRatePerSecondIsSet(boolean value) |
TaskListStatus |
setReadLevel(long readLevel) |
void |
setReadLevelIsSet(boolean value) |
TaskListStatus |
setTaskIDBlock(TaskIDBlock taskIDBlock) |
void |
setTaskIDBlockIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAckLevel() |
void |
unsetBacklogCountHint() |
void |
unsetRatePerSecond() |
void |
unsetReadLevel() |
void |
unsetTaskIDBlock() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public long backlogCountHint
public long readLevel
public long ackLevel
public double ratePerSecond
public TaskIDBlock taskIDBlock
public static final java.util.Map<TaskListStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TaskListStatus()
public TaskListStatus(TaskListStatus other)
public TaskListStatus deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public long getBacklogCountHint()
public TaskListStatus setBacklogCountHint(long backlogCountHint)
public void unsetBacklogCountHint()
public boolean isSetBacklogCountHint()
public void setBacklogCountHintIsSet(boolean value)
public long getReadLevel()
public TaskListStatus setReadLevel(long readLevel)
public void unsetReadLevel()
public boolean isSetReadLevel()
public void setReadLevelIsSet(boolean value)
public long getAckLevel()
public TaskListStatus setAckLevel(long ackLevel)
public void unsetAckLevel()
public boolean isSetAckLevel()
public void setAckLevelIsSet(boolean value)
public double getRatePerSecond()
public TaskListStatus setRatePerSecond(double ratePerSecond)
public void unsetRatePerSecond()
public boolean isSetRatePerSecond()
public void setRatePerSecondIsSet(boolean value)
public TaskIDBlock getTaskIDBlock()
public TaskListStatus setTaskIDBlock(TaskIDBlock taskIDBlock)
public void unsetTaskIDBlock()
public boolean isSetTaskIDBlock()
public void setTaskIDBlockIsSet(boolean value)
public void setFieldValue(TaskListStatus._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public java.lang.Object getFieldValue(TaskListStatus._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public boolean isSet(TaskListStatus._Fields field)
isSet
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(TaskListStatus that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TaskListStatus other)
compareTo
in interface java.lang.Comparable<TaskListStatus>
public TaskListStatus._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TaskListStatus,TaskListStatus._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException