Package org.apache.storm.generated
Class SpoutStats
java.lang.Object
org.apache.storm.generated.SpoutStats
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<SpoutStats>,- org.apache.storm.thrift.TBase<SpoutStats,,- SpoutStats._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class SpoutStats
extends Object
implements org.apache.storm.thrift.TBase<SpoutStats,SpoutStats._Fields>, Serializable, Cloneable, Comparable<SpoutStats> 
- 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<SpoutStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(SpoutStats other) deepCopy()booleanbooleanequals(SpoutStats that) fieldForId(int fieldId) intintintgetFieldValue(SpoutStats._Fields field) inthashCode()booleanReturns true if field acked is set (has been assigned a value) and false otherwisebooleanReturns true if field complete_ms_avg is set (has been assigned a value) and false otherwisebooleanReturns true if field failed is set (has been assigned a value) and false otherwisebooleanisSet(SpoutStats._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_acked(String key, Map<String, Long> val) voidput_to_complete_ms_avg(String key, Map<String, Double> val) voidput_to_failed(String key, Map<String, Long> val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidvoidset_acked_isSet(boolean value) voidvoidset_complete_ms_avg_isSet(boolean value) voidvoidset_failed_isSet(boolean value) voidsetFieldValue(SpoutStats._Fields field, Object value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<SpoutStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
SpoutStatspublic SpoutStats()
- 
SpoutStats
- 
SpoutStatsPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<SpoutStats,- SpoutStats._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<SpoutStats,- SpoutStats._Fields> 
 
- 
get_acked_sizepublic int get_acked_size()
- 
put_to_acked
- 
get_acked
- 
set_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_failed_sizepublic int get_failed_size()
- 
put_to_failed
- 
get_failed
- 
set_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_complete_ms_avg_sizepublic int get_complete_ms_avg_size()
- 
put_to_complete_ms_avg
- 
get_complete_ms_avg
- 
set_complete_ms_avg
- 
unset_complete_ms_avgpublic void unset_complete_ms_avg()
- 
is_set_complete_ms_avgpublic boolean is_set_complete_ms_avg()Returns true if field complete_ms_avg is set (has been assigned a value) and false otherwise
- 
set_complete_ms_avg_isSetpublic void set_complete_ms_avg_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<SpoutStats,- SpoutStats._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<SpoutStats,- SpoutStats._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<SpoutStats,- SpoutStats._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<SpoutStats>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<SpoutStats,- SpoutStats._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
 
 
-