Package org.apache.storm.generated
Class ExecutorStats
java.lang.Object
org.apache.storm.generated.ExecutorStats
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ExecutorStats>,- org.apache.storm.thrift.TBase<ExecutorStats,,- ExecutorStats._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ExecutorStats
extends Object
implements org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>, Serializable, Cloneable, Comparable<ExecutorStats> 
- 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<ExecutorStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionExecutorStats(Map<String, Map<String, Long>> emitted, Map<String, Map<String, Long>> transferred, ExecutorSpecificStats specific, double rate) ExecutorStats(ExecutorStats other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(ExecutorStats other) deepCopy()booleanbooleanequals(ExecutorStats that) fieldForId(int fieldId) intdoubleget_rate()intinthashCode()booleanReturns true if field emitted is set (has been assigned a value) and false otherwisebooleanReturns true if field rate is set (has been assigned a value) and false otherwisebooleanReturns true if field specific is set (has been assigned a value) and false otherwisebooleanReturns true if field transferred is set (has been assigned a value) and false otherwisebooleanisSet(ExecutorStats._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_emitted(String key, Map<String, Long> val) voidput_to_transferred(String key, Map<String, Long> val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidvoidset_emitted_isSet(boolean value) voidset_rate(double rate) voidset_rate_isSet(boolean value) voidset_specific(ExecutorSpecificStats specific) voidset_specific_isSet(boolean value) voidvoidset_transferred_isSet(boolean value) voidsetFieldValue(ExecutorStats._Fields field, Object value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ExecutorStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ExecutorStatspublic ExecutorStats()
- 
ExecutorStats
- 
ExecutorStatsPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ExecutorStats,- ExecutorStats._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ExecutorStats,- ExecutorStats._Fields> 
 
- 
get_emitted_sizepublic int get_emitted_size()
- 
put_to_emitted
- 
get_emitted
- 
set_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_transferred_sizepublic int get_transferred_size()
- 
put_to_transferred
- 
get_transferred
- 
set_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_specific
- 
set_specific
- 
unset_specificpublic void unset_specific()
- 
is_set_specificpublic boolean is_set_specific()Returns true if field specific is set (has been assigned a value) and false otherwise
- 
set_specific_isSetpublic void set_specific_isSet(boolean value) 
- 
get_ratepublic double get_rate()
- 
set_ratepublic void set_rate(double rate) 
- 
unset_ratepublic void unset_rate()
- 
is_set_ratepublic boolean is_set_rate()Returns true if field rate is set (has been assigned a value) and false otherwise
- 
set_rate_isSetpublic void set_rate_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ExecutorStats,- ExecutorStats._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ExecutorStats,- ExecutorStats._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<ExecutorStats,- ExecutorStats._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ExecutorStats>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ExecutorStats,- ExecutorStats._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
 
 
-