Package org.apache.storm.generated
Class ExecutorSummary
- java.lang.Object
-
- org.apache.storm.generated.ExecutorSummary
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ExecutorSummary>,org.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class ExecutorSummary extends Object implements org.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>, Serializable, Cloneable, Comparable<ExecutorSummary>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExecutorSummary._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<ExecutorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description ExecutorSummary()ExecutorSummary(ExecutorInfo executor_info, String component_id, String host, int port, int uptime_secs)ExecutorSummary(ExecutorSummary other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(ExecutorSummary other)ExecutorSummarydeepCopy()booleanequals(Object that)booleanequals(ExecutorSummary that)ExecutorSummary._FieldsfieldForId(int fieldId)Stringget_component_id()ExecutorInfoget_executor_info()Stringget_host()intget_port()ExecutorStatsget_stats()intget_uptime_secs()ObjectgetFieldValue(ExecutorSummary._Fields field)inthashCode()booleanis_set_component_id()Returns true if field component_id is set (has been assigned a value) and false otherwisebooleanis_set_executor_info()Returns true if field executor_info is set (has been assigned a value) and false otherwisebooleanis_set_host()Returns true if field host is set (has been assigned a value) and false otherwisebooleanis_set_port()Returns true if field port is set (has been assigned a value) and false otherwisebooleanis_set_stats()Returns true if field stats is set (has been assigned a value) and false otherwisebooleanis_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwisebooleanisSet(ExecutorSummary._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_component_id(String component_id)voidset_component_id_isSet(boolean value)voidset_executor_info(ExecutorInfo executor_info)voidset_executor_info_isSet(boolean value)voidset_host(String host)voidset_host_isSet(boolean value)voidset_port(int port)voidset_port_isSet(boolean value)voidset_stats(ExecutorStats stats)voidset_stats_isSet(boolean value)voidset_uptime_secs(int uptime_secs)voidset_uptime_secs_isSet(boolean value)voidsetFieldValue(ExecutorSummary._Fields field, Object value)StringtoString()voidunset_component_id()voidunset_executor_info()voidunset_host()voidunset_port()voidunset_stats()voidunset_uptime_secs()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<ExecutorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
ExecutorSummary
public ExecutorSummary()
-
ExecutorSummary
public ExecutorSummary(ExecutorInfo executor_info, String component_id, String host, int port, int uptime_secs)
-
ExecutorSummary
public ExecutorSummary(ExecutorSummary other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public ExecutorSummary deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
-
get_executor_info
public ExecutorInfo get_executor_info()
-
set_executor_info
public void set_executor_info(ExecutorInfo executor_info)
-
unset_executor_info
public void unset_executor_info()
-
is_set_executor_info
public boolean is_set_executor_info()
Returns true if field executor_info is set (has been assigned a value) and false otherwise
-
set_executor_info_isSet
public void set_executor_info_isSet(boolean value)
-
get_component_id
public String get_component_id()
-
set_component_id
public void set_component_id(String component_id)
-
unset_component_id
public void unset_component_id()
-
is_set_component_id
public boolean is_set_component_id()
Returns true if field component_id is set (has been assigned a value) and false otherwise
-
set_component_id_isSet
public void set_component_id_isSet(boolean value)
-
get_host
public String get_host()
-
set_host
public void set_host(String host)
-
unset_host
public void unset_host()
-
is_set_host
public boolean is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
-
set_host_isSet
public void set_host_isSet(boolean value)
-
get_port
public int get_port()
-
set_port
public void set_port(int port)
-
unset_port
public void unset_port()
-
is_set_port
public boolean is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
-
set_port_isSet
public void set_port_isSet(boolean value)
-
get_uptime_secs
public int get_uptime_secs()
-
set_uptime_secs
public void set_uptime_secs(int uptime_secs)
-
unset_uptime_secs
public void unset_uptime_secs()
-
is_set_uptime_secs
public boolean is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
-
set_uptime_secs_isSet
public void set_uptime_secs_isSet(boolean value)
-
get_stats
public ExecutorStats get_stats()
-
set_stats
public void set_stats(ExecutorStats stats)
-
unset_stats
public void unset_stats()
-
is_set_stats
public boolean is_set_stats()
Returns true if field stats is set (has been assigned a value) and false otherwise
-
set_stats_isSet
public void set_stats_isSet(boolean value)
-
setFieldValue
public void setFieldValue(ExecutorSummary._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
-
getFieldValue
public Object getFieldValue(ExecutorSummary._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._Fields>
-
isSet
public boolean isSet(ExecutorSummary._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<ExecutorSummary,ExecutorSummary._Fields>
-
equals
public boolean equals(ExecutorSummary that)
-
compareTo
public int compareTo(ExecutorSummary other)
- Specified by:
compareToin interfaceComparable<ExecutorSummary>
-
fieldForId
public ExecutorSummary._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<ExecutorSummary,ExecutorSummary._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
-
-