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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<TopologyStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(TopologyStats other) deepCopy()booleanbooleanequals(TopologyStats that) fieldForId(int fieldId) intintintintintinthashCode()booleanReturns true if field window_to_acked is set (has been assigned a value) and false otherwisebooleanReturns true if field window_to_complete_latencies_ms is set (has been assigned a value) and false otherwisebooleanReturns true if field window_to_emitted is set (has been assigned a value) and false otherwisebooleanReturns true if field window_to_failed is set (has been assigned a value) and false otherwisebooleanReturns 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) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<TopologyStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
TopologyStats
public TopologyStats() -
TopologyStats
Performs a deep copy on other.
-
-
Method Details
-
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
-
get_window_to_emitted
-
set_window_to_emitted
-
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
-
get_window_to_transferred
-
set_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
-
get_window_to_complete_latencies_ms
-
set_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
-
get_window_to_acked
-
set_window_to_acked
-
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
-
get_window_to_failed
-
set_window_to_failed
-
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
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyStats,TopologyStats._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TopologyStats>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-