Package org.apache.storm.generated
Class CommonAggregateStats
java.lang.Object
org.apache.storm.generated.CommonAggregateStats
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<CommonAggregateStats>,- org.apache.storm.thrift.TBase<CommonAggregateStats,,- CommonAggregateStats._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class CommonAggregateStats
extends Object
implements org.apache.storm.thrift.TBase<CommonAggregateStats,CommonAggregateStats._Fields>, Serializable, Cloneable, Comparable<CommonAggregateStats> 
- 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<CommonAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionPerforms a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(CommonAggregateStats other) deepCopy()booleanbooleanequals(CommonAggregateStats that) fieldForId(int fieldId) longlonglongintintintlonginthashCode()booleanReturns true if field acked is set (has been assigned a value) and false otherwisebooleanReturns true if field emitted is set (has been assigned a value) and false otherwisebooleanReturns true if field failed is set (has been assigned a value) and false otherwisebooleanReturns true if field num_executors is set (has been assigned a value) and false otherwisebooleanReturns true if field num_tasks is set (has been assigned a value) and false otherwisebooleanReturns true if field resources_map is set (has been assigned a value) and false otherwisebooleanReturns true if field transferred is set (has been assigned a value) and false otherwisebooleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_resources_map(String key, double val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_acked(long acked) voidset_acked_isSet(boolean value) voidset_emitted(long emitted) voidset_emitted_isSet(boolean value) voidset_failed(long failed) voidset_failed_isSet(boolean value) voidset_num_executors(int num_executors) voidset_num_executors_isSet(boolean value) voidset_num_tasks(int num_tasks) voidset_num_tasks_isSet(boolean value) voidset_resources_map(Map<String, Double> resources_map) voidset_resources_map_isSet(boolean value) voidset_transferred(long transferred) voidset_transferred_isSet(boolean value) voidsetFieldValue(CommonAggregateStats._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<CommonAggregateStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
CommonAggregateStatspublic CommonAggregateStats()
- 
CommonAggregateStatsPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<CommonAggregateStats,- CommonAggregateStats._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<CommonAggregateStats,- CommonAggregateStats._Fields> 
 
- 
get_num_executorspublic int get_num_executors()
- 
set_num_executorspublic void set_num_executors(int num_executors) 
- 
unset_num_executorspublic void unset_num_executors()
- 
is_set_num_executorspublic boolean is_set_num_executors()Returns true if field num_executors is set (has been assigned a value) and false otherwise
- 
set_num_executors_isSetpublic void set_num_executors_isSet(boolean value) 
- 
get_num_taskspublic int get_num_tasks()
- 
set_num_taskspublic void set_num_tasks(int num_tasks) 
- 
unset_num_taskspublic void unset_num_tasks()
- 
is_set_num_taskspublic boolean is_set_num_tasks()Returns true if field num_tasks is set (has been assigned a value) and false otherwise
- 
set_num_tasks_isSetpublic void set_num_tasks_isSet(boolean value) 
- 
get_emittedpublic long get_emitted()
- 
set_emittedpublic void set_emitted(long emitted) 
- 
unset_emittedpublic void unset_emitted()
- 
is_set_emittedpublic boolean is_set_emitted()Returns true if field emitted is set (has been assigned a value) and false otherwise
- 
set_emitted_isSetpublic void set_emitted_isSet(boolean value) 
- 
get_transferredpublic long get_transferred()
- 
set_transferredpublic void set_transferred(long transferred) 
- 
unset_transferredpublic void unset_transferred()
- 
is_set_transferredpublic boolean is_set_transferred()Returns true if field transferred is set (has been assigned a value) and false otherwise
- 
set_transferred_isSetpublic void set_transferred_isSet(boolean value) 
- 
get_ackedpublic long get_acked()
- 
set_ackedpublic void set_acked(long acked) 
- 
unset_ackedpublic void unset_acked()
- 
is_set_ackedpublic boolean is_set_acked()Returns true if field acked is set (has been assigned a value) and false otherwise
- 
set_acked_isSetpublic void set_acked_isSet(boolean value) 
- 
get_failedpublic long get_failed()
- 
set_failedpublic void set_failed(long failed) 
- 
unset_failedpublic void unset_failed()
- 
is_set_failedpublic boolean is_set_failed()Returns true if field failed is set (has been assigned a value) and false otherwise
- 
set_failed_isSetpublic void set_failed_isSet(boolean value) 
- 
get_resources_map_sizepublic int get_resources_map_size()
- 
put_to_resources_map
- 
get_resources_map
- 
set_resources_map
- 
unset_resources_mappublic void unset_resources_map()
- 
is_set_resources_mappublic boolean is_set_resources_map()Returns true if field resources_map is set (has been assigned a value) and false otherwise
- 
set_resources_map_isSetpublic void set_resources_map_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<CommonAggregateStats,- CommonAggregateStats._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<CommonAggregateStats,- CommonAggregateStats._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<CommonAggregateStats,- CommonAggregateStats._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<CommonAggregateStats>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<CommonAggregateStats,- CommonAggregateStats._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
 
 
-