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 class
ExecutorInfo._Fields
The 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 void
clear()
int
compareTo(ExecutorInfo other)
ExecutorInfo
deepCopy()
boolean
equals(Object that)
boolean
equals(ExecutorInfo that)
ExecutorInfo._Fields
fieldForId(int fieldId)
int
get_task_end()
int
get_task_start()
Object
getFieldValue(ExecutorInfo._Fields field)
int
hashCode()
boolean
is_set_task_end()
Returns true if field task_end is set (has been assigned a value) and false otherwiseboolean
is_set_task_start()
Returns true if field task_start is set (has been assigned a value) and false otherwiseboolean
isSet(ExecutorInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read(org.apache.storm.thrift.protocol.TProtocol iprot)
void
set_task_end(int task_end)
void
set_task_end_isSet(boolean value)
void
set_task_start(int task_start)
void
set_task_start_isSet(boolean value)
void
setFieldValue(ExecutorInfo._Fields field, Object value)
String
toString()
void
unset_task_end()
void
unset_task_start()
void
validate()
void
write(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:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
getFieldValue
public Object getFieldValue(ExecutorInfo._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
-
equals
public boolean equals(ExecutorInfo that)
-
compareTo
public int compareTo(ExecutorInfo other)
- Specified by:
compareTo
in interfaceComparable<ExecutorInfo>
-
fieldForId
public ExecutorInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in 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:
read
in 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:
write
in 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
-
-