Package org.apache.storm.generated
Class BoltStats
java.lang.Object
org.apache.storm.generated.BoltStats
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<BoltStats>
,org.apache.storm.thrift.TBase<BoltStats,
,BoltStats._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class BoltStats
extends Object
implements org.apache.storm.thrift.TBase<BoltStats,BoltStats._Fields>, Serializable, Cloneable, Comparable<BoltStats>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<BoltStats._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionBoltStats
(Map<String, Map<GlobalStreamId, Long>> acked, Map<String, Map<GlobalStreamId, Long>> failed, Map<String, Map<GlobalStreamId, Double>> process_ms_avg, Map<String, Map<GlobalStreamId, Long>> executed, Map<String, Map<GlobalStreamId, Double>> execute_ms_avg) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
deepCopy()
boolean
boolean
fieldForId
(int fieldId) int
int
int
int
int
getFieldValue
(BoltStats._Fields field) int
hashCode()
boolean
Returns true if field acked is set (has been assigned a value) and false otherwiseboolean
Returns true if field execute_ms_avg is set (has been assigned a value) and false otherwiseboolean
Returns true if field executed is set (has been assigned a value) and false otherwiseboolean
Returns true if field failed is set (has been assigned a value) and false otherwiseboolean
Returns true if field process_ms_avg is set (has been assigned a value) and false otherwiseboolean
isSet
(BoltStats._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
put_to_acked
(String key, Map<GlobalStreamId, Long> val) void
put_to_execute_ms_avg
(String key, Map<GlobalStreamId, Double> val) void
put_to_executed
(String key, Map<GlobalStreamId, Long> val) void
put_to_failed
(String key, Map<GlobalStreamId, Long> val) void
put_to_process_ms_avg
(String key, Map<GlobalStreamId, Double> val) void
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
void
set_acked_isSet
(boolean value) void
set_execute_ms_avg
(Map<String, Map<GlobalStreamId, Double>> execute_ms_avg) void
set_execute_ms_avg_isSet
(boolean value) void
set_executed
(Map<String, Map<GlobalStreamId, Long>> executed) void
set_executed_isSet
(boolean value) void
set_failed
(Map<String, Map<GlobalStreamId, Long>> failed) void
set_failed_isSet
(boolean value) void
set_process_ms_avg
(Map<String, Map<GlobalStreamId, Double>> process_ms_avg) void
set_process_ms_avg_isSet
(boolean value) void
setFieldValue
(BoltStats._Fields field, Object value) toString()
void
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<BoltStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
BoltStats
public BoltStats() -
BoltStats
public BoltStats(Map<String, Map<GlobalStreamId, Long>> acked, Map<String, Map<GlobalStreamId, Long>> failed, Map<String, Map<GlobalStreamId, Double>> process_ms_avg, Map<String, Map<GlobalStreamId, Long>> executed, Map<String, Map<GlobalStreamId, Double>> execute_ms_avg) -
BoltStats
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
get_acked_size
public int get_acked_size() -
put_to_acked
-
get_acked
-
set_acked
-
unset_acked
public void unset_acked() -
is_set_acked
public boolean is_set_acked()Returns true if field acked is set (has been assigned a value) and false otherwise -
set_acked_isSet
public void set_acked_isSet(boolean value) -
get_failed_size
public int get_failed_size() -
put_to_failed
-
get_failed
-
set_failed
-
unset_failed
public void unset_failed() -
is_set_failed
public boolean is_set_failed()Returns true if field failed is set (has been assigned a value) and false otherwise -
set_failed_isSet
public void set_failed_isSet(boolean value) -
get_process_ms_avg_size
public int get_process_ms_avg_size() -
put_to_process_ms_avg
-
get_process_ms_avg
-
set_process_ms_avg
-
unset_process_ms_avg
public void unset_process_ms_avg() -
is_set_process_ms_avg
public boolean is_set_process_ms_avg()Returns true if field process_ms_avg is set (has been assigned a value) and false otherwise -
set_process_ms_avg_isSet
public void set_process_ms_avg_isSet(boolean value) -
get_executed_size
public int get_executed_size() -
put_to_executed
-
get_executed
-
set_executed
-
unset_executed
public void unset_executed() -
is_set_executed
public boolean is_set_executed()Returns true if field executed is set (has been assigned a value) and false otherwise -
set_executed_isSet
public void set_executed_isSet(boolean value) -
get_execute_ms_avg_size
public int get_execute_ms_avg_size() -
put_to_execute_ms_avg
-
get_execute_ms_avg
-
set_execute_ms_avg
-
unset_execute_ms_avg
public void unset_execute_ms_avg() -
is_set_execute_ms_avg
public boolean is_set_execute_ms_avg()Returns true if field execute_ms_avg is set (has been assigned a value) and false otherwise -
set_execute_ms_avg_isSet
public void set_execute_ms_avg_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<BoltStats>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<BoltStats,
BoltStats._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
read
in 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:
write
in 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
-