Package org.apache.storm.generated
Class TopologyStats
- java.lang.Object
-
- org.apache.storm.generated.TopologyStats
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TopologyStats>,org.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class TopologyStats extends Object implements org.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>, Serializable, Cloneable, Comparable<TopologyStats>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopologyStats._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<TopologyStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TopologyStats()TopologyStats(TopologyStats other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(TopologyStats other)TopologyStatsdeepCopy()booleanequals(Object that)booleanequals(TopologyStats that)TopologyStats._FieldsfieldForId(int fieldId)Map<String,Long>get_window_to_acked()intget_window_to_acked_size()Map<String,Double>get_window_to_complete_latencies_ms()intget_window_to_complete_latencies_ms_size()Map<String,Long>get_window_to_emitted()intget_window_to_emitted_size()Map<String,Long>get_window_to_failed()intget_window_to_failed_size()Map<String,Long>get_window_to_transferred()intget_window_to_transferred_size()ObjectgetFieldValue(TopologyStats._Fields field)inthashCode()booleanis_set_window_to_acked()Returns true if field window_to_acked is set (has been assigned a value) and false otherwisebooleanis_set_window_to_complete_latencies_ms()Returns true if field window_to_complete_latencies_ms is set (has been assigned a value) and false otherwisebooleanis_set_window_to_emitted()Returns true if field window_to_emitted is set (has been assigned a value) and false otherwisebooleanis_set_window_to_failed()Returns true if field window_to_failed is set (has been assigned a value) and false otherwisebooleanis_set_window_to_transferred()Returns true if field window_to_transferred is set (has been assigned a value) and false otherwisebooleanisSet(TopologyStats._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_window_to_acked(String key, long val)voidput_to_window_to_complete_latencies_ms(String key, double val)voidput_to_window_to_emitted(String key, long val)voidput_to_window_to_failed(String key, long val)voidput_to_window_to_transferred(String key, long val)voidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_window_to_acked(Map<String,Long> window_to_acked)voidset_window_to_acked_isSet(boolean value)voidset_window_to_complete_latencies_ms(Map<String,Double> window_to_complete_latencies_ms)voidset_window_to_complete_latencies_ms_isSet(boolean value)voidset_window_to_emitted(Map<String,Long> window_to_emitted)voidset_window_to_emitted_isSet(boolean value)voidset_window_to_failed(Map<String,Long> window_to_failed)voidset_window_to_failed_isSet(boolean value)voidset_window_to_transferred(Map<String,Long> window_to_transferred)voidset_window_to_transferred_isSet(boolean value)voidsetFieldValue(TopologyStats._Fields field, Object value)StringtoString()voidunset_window_to_acked()voidunset_window_to_complete_latencies_ms()voidunset_window_to_emitted()voidunset_window_to_failed()voidunset_window_to_transferred()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TopologyStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TopologyStats
public TopologyStats()
-
TopologyStats
public TopologyStats(TopologyStats other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TopologyStats deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
get_window_to_emitted_size
public int get_window_to_emitted_size()
-
put_to_window_to_emitted
public void put_to_window_to_emitted(String key, long val)
-
unset_window_to_emitted
public void unset_window_to_emitted()
-
is_set_window_to_emitted
public boolean is_set_window_to_emitted()
Returns true if field window_to_emitted is set (has been assigned a value) and false otherwise
-
set_window_to_emitted_isSet
public void set_window_to_emitted_isSet(boolean value)
-
get_window_to_transferred_size
public int get_window_to_transferred_size()
-
put_to_window_to_transferred
public void put_to_window_to_transferred(String key, long val)
-
set_window_to_transferred
public void set_window_to_transferred(Map<String,Long> window_to_transferred)
-
unset_window_to_transferred
public void unset_window_to_transferred()
-
is_set_window_to_transferred
public boolean is_set_window_to_transferred()
Returns true if field window_to_transferred is set (has been assigned a value) and false otherwise
-
set_window_to_transferred_isSet
public void set_window_to_transferred_isSet(boolean value)
-
get_window_to_complete_latencies_ms_size
public int get_window_to_complete_latencies_ms_size()
-
put_to_window_to_complete_latencies_ms
public void put_to_window_to_complete_latencies_ms(String key, double val)
-
get_window_to_complete_latencies_ms
public Map<String,Double> get_window_to_complete_latencies_ms()
-
set_window_to_complete_latencies_ms
public void set_window_to_complete_latencies_ms(Map<String,Double> window_to_complete_latencies_ms)
-
unset_window_to_complete_latencies_ms
public void unset_window_to_complete_latencies_ms()
-
is_set_window_to_complete_latencies_ms
public boolean is_set_window_to_complete_latencies_ms()
Returns true if field window_to_complete_latencies_ms is set (has been assigned a value) and false otherwise
-
set_window_to_complete_latencies_ms_isSet
public void set_window_to_complete_latencies_ms_isSet(boolean value)
-
get_window_to_acked_size
public int get_window_to_acked_size()
-
put_to_window_to_acked
public void put_to_window_to_acked(String key, long val)
-
unset_window_to_acked
public void unset_window_to_acked()
-
is_set_window_to_acked
public boolean is_set_window_to_acked()
Returns true if field window_to_acked is set (has been assigned a value) and false otherwise
-
set_window_to_acked_isSet
public void set_window_to_acked_isSet(boolean value)
-
get_window_to_failed_size
public int get_window_to_failed_size()
-
put_to_window_to_failed
public void put_to_window_to_failed(String key, long val)
-
unset_window_to_failed
public void unset_window_to_failed()
-
is_set_window_to_failed
public boolean is_set_window_to_failed()
Returns true if field window_to_failed is set (has been assigned a value) and false otherwise
-
set_window_to_failed_isSet
public void set_window_to_failed_isSet(boolean value)
-
setFieldValue
public void setFieldValue(TopologyStats._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
getFieldValue
public Object getFieldValue(TopologyStats._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
isSet
public boolean isSet(TopologyStats._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<TopologyStats,TopologyStats._Fields>
-
equals
public boolean equals(TopologyStats that)
-
compareTo
public int compareTo(TopologyStats other)
- Specified by:
compareToin interfaceComparable<TopologyStats>
-
fieldForId
public TopologyStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._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
-
-