@Generated(value="Autogenerated by Thrift Compiler (0.12.0)") public class BoltStats extends Object implements org.apache.thrift.TBase<BoltStats,BoltStats._Fields>, Serializable, Cloneable, Comparable<BoltStats>
Modifier and Type | Class and Description |
---|---|
static class |
BoltStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<BoltStats._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
BoltStats() |
BoltStats(BoltStats other)
Performs a deep copy on other.
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(BoltStats other) |
BoltStats |
deepCopy() |
boolean |
equals(BoltStats that) |
boolean |
equals(Object that) |
BoltStats._Fields |
fieldForId(int fieldId) |
int |
get_acked_size() |
Map<String,Map<GlobalStreamId,Long>> |
get_acked() |
int |
get_execute_ms_avg_size() |
Map<String,Map<GlobalStreamId,Double>> |
get_execute_ms_avg() |
int |
get_executed_size() |
Map<String,Map<GlobalStreamId,Long>> |
get_executed() |
int |
get_failed_size() |
Map<String,Map<GlobalStreamId,Long>> |
get_failed() |
int |
get_process_ms_avg_size() |
Map<String,Map<GlobalStreamId,Double>> |
get_process_ms_avg() |
Object |
getFieldValue(BoltStats._Fields field) |
int |
hashCode() |
boolean |
is_set_acked()
Returns true if field acked is set (has been assigned a value) and false otherwise
|
boolean |
is_set_execute_ms_avg()
Returns true if field execute_ms_avg is set (has been assigned a value) and false otherwise
|
boolean |
is_set_executed()
Returns true if field executed is set (has been assigned a value) and false otherwise
|
boolean |
is_set_failed()
Returns true if field failed is set (has been assigned a value) and false otherwise
|
boolean |
is_set_process_ms_avg()
Returns true if field process_ms_avg is set (has been assigned a value) and false otherwise
|
boolean |
isSet(BoltStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
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.thrift.protocol.TProtocol iprot) |
void |
set_acked_isSet(boolean value) |
void |
set_acked(Map<String,Map<GlobalStreamId,Long>> acked) |
void |
set_execute_ms_avg_isSet(boolean value) |
void |
set_execute_ms_avg(Map<String,Map<GlobalStreamId,Double>> execute_ms_avg) |
void |
set_executed_isSet(boolean value) |
void |
set_executed(Map<String,Map<GlobalStreamId,Long>> executed) |
void |
set_failed_isSet(boolean value) |
void |
set_failed(Map<String,Map<GlobalStreamId,Long>> failed) |
void |
set_process_ms_avg_isSet(boolean value) |
void |
set_process_ms_avg(Map<String,Map<GlobalStreamId,Double>> process_ms_avg) |
void |
setFieldValue(BoltStats._Fields field,
Object value) |
String |
toString() |
void |
unset_acked() |
void |
unset_execute_ms_avg() |
void |
unset_executed() |
void |
unset_failed() |
void |
unset_process_ms_avg() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<BoltStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public 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)
public BoltStats(BoltStats other)
Performs a deep copy on other.
public BoltStats deepCopy()
deepCopy
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public int get_acked_size()
public void put_to_acked(String key, Map<GlobalStreamId,Long> val)
public Map<String,Map<GlobalStreamId,Long>> get_acked()
public void set_acked(Map<String,Map<GlobalStreamId,Long>> acked)
public void unset_acked()
public boolean is_set_acked()
Returns true if field acked is set (has been assigned a value) and false otherwise
public void set_acked_isSet(boolean value)
public int get_failed_size()
public void put_to_failed(String key, Map<GlobalStreamId,Long> val)
public Map<String,Map<GlobalStreamId,Long>> get_failed()
public void set_failed(Map<String,Map<GlobalStreamId,Long>> failed)
public void unset_failed()
public boolean is_set_failed()
Returns true if field failed is set (has been assigned a value) and false otherwise
public void set_failed_isSet(boolean value)
public int get_process_ms_avg_size()
public void put_to_process_ms_avg(String key, Map<GlobalStreamId,Double> val)
public Map<String,Map<GlobalStreamId,Double>> get_process_ms_avg()
public void set_process_ms_avg(Map<String,Map<GlobalStreamId,Double>> process_ms_avg)
public void unset_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
public void set_process_ms_avg_isSet(boolean value)
public int get_executed_size()
public void put_to_executed(String key, Map<GlobalStreamId,Long> val)
public Map<String,Map<GlobalStreamId,Long>> get_executed()
public void set_executed(Map<String,Map<GlobalStreamId,Long>> executed)
public void unset_executed()
public boolean is_set_executed()
Returns true if field executed is set (has been assigned a value) and false otherwise
public void set_executed_isSet(boolean value)
public int get_execute_ms_avg_size()
public void put_to_execute_ms_avg(String key, Map<GlobalStreamId,Double> val)
public Map<String,Map<GlobalStreamId,Double>> get_execute_ms_avg()
public void set_execute_ms_avg(Map<String,Map<GlobalStreamId,Double>> execute_ms_avg)
public void unset_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
public void set_execute_ms_avg_isSet(boolean value)
public void setFieldValue(BoltStats._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public Object getFieldValue(BoltStats._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public boolean isSet(BoltStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public boolean equals(BoltStats that)
public int compareTo(BoltStats other)
compareTo
in interface Comparable<BoltStats>
public BoltStats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<BoltStats,BoltStats._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TSerializable
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2022 The Apache Software Foundation. All Rights Reserved.