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:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<ExecutorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionExecutorSummary(ExecutorInfo executor_info, String component_id, String host, int port, int uptime_secs) ExecutorSummary(ExecutorSummary other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(ExecutorSummary other) deepCopy()booleanbooleanequals(ExecutorSummary that) fieldForId(int fieldId) get_host()intget_port()intinthashCode()booleanReturns true if field component_id is set (has been assigned a value) and false otherwisebooleanReturns true if field executor_info is set (has been assigned a value) and false otherwisebooleanReturns true if field host is set (has been assigned a value) and false otherwisebooleanReturns true if field port is set (has been assigned a value) and false otherwisebooleanReturns true if field stats is set (has been assigned a value) and false otherwisebooleanReturns 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) voidvoidset_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) toString()voidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ExecutorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ExecutorSummarypublic ExecutorSummary()
- 
ExecutorSummarypublic ExecutorSummary(ExecutorInfo executor_info, String component_id, String host, int port, int uptime_secs) 
- 
ExecutorSummaryPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
get_executor_info
- 
set_executor_info
- 
unset_executor_infopublic void unset_executor_info()
- 
is_set_executor_infopublic boolean is_set_executor_info()Returns true if field executor_info is set (has been assigned a value) and false otherwise
- 
set_executor_info_isSetpublic void set_executor_info_isSet(boolean value) 
- 
get_component_id
- 
set_component_id
- 
unset_component_idpublic void unset_component_id()
- 
is_set_component_idpublic boolean is_set_component_id()Returns true if field component_id is set (has been assigned a value) and false otherwise
- 
set_component_id_isSetpublic void set_component_id_isSet(boolean value) 
- 
get_host
- 
set_host
- 
unset_hostpublic void unset_host()
- 
is_set_hostpublic boolean is_set_host()Returns true if field host is set (has been assigned a value) and false otherwise
- 
set_host_isSetpublic void set_host_isSet(boolean value) 
- 
get_portpublic int get_port()
- 
set_portpublic void set_port(int port) 
- 
unset_portpublic void unset_port()
- 
is_set_portpublic boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise
- 
set_port_isSetpublic void set_port_isSet(boolean value) 
- 
get_uptime_secspublic int get_uptime_secs()
- 
set_uptime_secspublic void set_uptime_secs(int uptime_secs) 
- 
unset_uptime_secspublic void unset_uptime_secs()
- 
is_set_uptime_secspublic boolean is_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
- 
set_uptime_secs_isSetpublic void set_uptime_secs_isSet(boolean value) 
- 
get_stats
- 
set_stats
- 
unset_statspublic void unset_stats()
- 
is_set_statspublic boolean is_set_stats()Returns true if field stats is set (has been assigned a value) and false otherwise
- 
set_stats_isSetpublic void set_stats_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ExecutorSummary>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ExecutorSummary,- ExecutorSummary._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-