@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class ExecutorInfo extends Object implements org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>, Serializable, Cloneable, Comparable<ExecutorInfo>
Modifier and Type | Class and Description |
---|---|
static class |
ExecutorInfo._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ExecutorInfo() |
ExecutorInfo(ExecutorInfo other)
Performs a deep copy on other.
|
ExecutorInfo(int task_start,
int task_end) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(ExecutorInfo other) |
ExecutorInfo |
deepCopy() |
boolean |
equals(ExecutorInfo that) |
boolean |
equals(Object 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 otherwise
|
boolean |
is_set_task_start()
Returns true if field task_start is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ExecutorInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_task_end_isSet(boolean value) |
void |
set_task_end(int task_end) |
void |
set_task_start_isSet(boolean value) |
void |
set_task_start(int task_start) |
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) |
public static final Map<ExecutorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ExecutorInfo()
public ExecutorInfo(int task_start, int task_end)
public ExecutorInfo(ExecutorInfo other)
Performs a deep copy on other.
public ExecutorInfo deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public int get_task_start()
public void set_task_start(int task_start)
public void unset_task_start()
public boolean is_set_task_start()
Returns true if field task_start is set (has been assigned a value) and false otherwise
public void set_task_start_isSet(boolean value)
public int get_task_end()
public void set_task_end(int task_end)
public void unset_task_end()
public boolean is_set_task_end()
Returns true if field task_end is set (has been assigned a value) and false otherwise
public void set_task_end_isSet(boolean value)
public void setFieldValue(ExecutorInfo._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public Object getFieldValue(ExecutorInfo._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public boolean isSet(ExecutorInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public boolean equals(ExecutorInfo that)
public int compareTo(ExecutorInfo other)
compareTo
in interface Comparable<ExecutorInfo>
public ExecutorInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<ExecutorInfo,ExecutorInfo._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.