Package org.apache.storm.generated
Class ExecutorInfo
- java.lang.Object
-
- org.apache.storm.generated.ExecutorInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ExecutorInfo>,org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ExecutorInfo extends Object implements org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>, Serializable, Cloneable, Comparable<ExecutorInfo>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutorInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description ExecutorInfo()ExecutorInfo(int task_start, int task_end)ExecutorInfo(ExecutorInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ExecutorInfo other)ExecutorInfodeepCopy()booleanequals(Object that)booleanequals(ExecutorInfo that)ExecutorInfo._FieldsfieldForId(int fieldId)intget_task_end()intget_task_start()ObjectgetFieldValue(ExecutorInfo._Fields field)inthashCode()booleanis_set_task_end()Returns true if field task_end is set (has been assigned a value) and false otherwisebooleanis_set_task_start()Returns true if field task_start is set (has been assigned a value) and false otherwisebooleanisSet(ExecutorInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_task_end(int task_end)voidset_task_end_isSet(boolean value)voidset_task_start(int task_start)voidset_task_start_isSet(boolean value)voidsetFieldValue(ExecutorInfo._Fields field, Object value)StringtoString()voidunset_task_end()voidunset_task_start()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ExecutorInfo
public ExecutorInfo()
-
ExecutorInfo
public ExecutorInfo(int task_start, int task_end)
-
ExecutorInfo
public ExecutorInfo(ExecutorInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ExecutorInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
get_task_start
public int get_task_start()
-
set_task_start
public void set_task_start(int task_start)
-
unset_task_start
public void unset_task_start()
-
is_set_task_start
public boolean is_set_task_start()
Returns true if field task_start is set (has been assigned a value) and false otherwise
-
set_task_start_isSet
public void set_task_start_isSet(boolean value)
-
get_task_end
public int get_task_end()
-
set_task_end
public void set_task_end(int task_end)
-
unset_task_end
public void unset_task_end()
-
is_set_task_end
public boolean is_set_task_end()
Returns true if field task_end is set (has been assigned a value) and false otherwise
-
set_task_end_isSet
public void set_task_end_isSet(boolean value)
-
setFieldValue
public void setFieldValue(ExecutorInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
getFieldValue
public Object getFieldValue(ExecutorInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
isSet
public boolean isSet(ExecutorInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
equals
public boolean equals(ExecutorInfo that)
-
compareTo
public int compareTo(ExecutorInfo other)
- Specified by:
compareToin interfaceComparable<ExecutorInfo>
-
fieldForId
public ExecutorInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException- Specified by:
readin interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
write
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException- Specified by:
writein interfaceorg.apache.storm.thrift.TSerializable- Throws:
org.apache.storm.thrift.TException
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-