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:
-
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 TypeFieldDescriptionstatic final Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionExecutorInfo(int task_start, int task_end) ExecutorInfo(ExecutorInfo other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(ExecutorInfo other) deepCopy()booleanbooleanequals(ExecutorInfo that) fieldForId(int fieldId) intintinthashCode()booleanReturns true if field task_end is set (has been assigned a value) and false otherwisebooleanReturns 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) toString()voidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ExecutorInfo
public ExecutorInfo() -
ExecutorInfo
public ExecutorInfo(int task_start, int task_end) -
ExecutorInfo
Performs a deep copy on other.
-
-
Method Details
-
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
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ExecutorInfo>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-