@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class ExecutorStats extends Object implements org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>, Serializable, Cloneable, Comparable<ExecutorStats>
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ExecutorStats._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<ExecutorStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> | 
metaDataMap  | 
| Constructor and Description | 
|---|
ExecutorStats()  | 
ExecutorStats(ExecutorStats other)
Performs a deep copy on other. 
 | 
ExecutorStats(Map<String,Map<String,Long>> emitted,
             Map<String,Map<String,Long>> transferred,
             ExecutorSpecificStats specific,
             double rate)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clear()  | 
int | 
compareTo(ExecutorStats other)  | 
ExecutorStats | 
deepCopy()  | 
boolean | 
equals(ExecutorStats that)  | 
boolean | 
equals(Object that)  | 
ExecutorStats._Fields | 
fieldForId(int fieldId)  | 
int | 
get_emitted_size()  | 
Map<String,Map<String,Long>> | 
get_emitted()  | 
double | 
get_rate()  | 
ExecutorSpecificStats | 
get_specific()  | 
int | 
get_transferred_size()  | 
Map<String,Map<String,Long>> | 
get_transferred()  | 
Object | 
getFieldValue(ExecutorStats._Fields field)  | 
int | 
hashCode()  | 
boolean | 
is_set_emitted()
Returns true if field emitted is set (has been assigned a value) and false otherwise 
 | 
boolean | 
is_set_rate()
Returns true if field rate is set (has been assigned a value) and false otherwise 
 | 
boolean | 
is_set_specific()
Returns true if field specific is set (has been assigned a value) and false otherwise 
 | 
boolean | 
is_set_transferred()
Returns true if field transferred is set (has been assigned a value) and false otherwise 
 | 
boolean | 
isSet(ExecutorStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise 
 | 
void | 
put_to_emitted(String key,
              Map<String,Long> val)  | 
void | 
put_to_transferred(String key,
                  Map<String,Long> val)  | 
void | 
read(org.apache.storm.thrift.protocol.TProtocol iprot)  | 
void | 
set_emitted_isSet(boolean value)  | 
void | 
set_emitted(Map<String,Map<String,Long>> emitted)  | 
void | 
set_rate_isSet(boolean value)  | 
void | 
set_rate(double rate)  | 
void | 
set_specific_isSet(boolean value)  | 
void | 
set_specific(ExecutorSpecificStats specific)  | 
void | 
set_transferred_isSet(boolean value)  | 
void | 
set_transferred(Map<String,Map<String,Long>> transferred)  | 
void | 
setFieldValue(ExecutorStats._Fields field,
             Object value)  | 
String | 
toString()  | 
void | 
unset_emitted()  | 
void | 
unset_rate()  | 
void | 
unset_specific()  | 
void | 
unset_transferred()  | 
void | 
validate()  | 
void | 
write(org.apache.storm.thrift.protocol.TProtocol oprot)  | 
public static final Map<ExecutorStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ExecutorStats()
public ExecutorStats(Map<String,Map<String,Long>> emitted, Map<String,Map<String,Long>> transferred, ExecutorSpecificStats specific, double rate)
public ExecutorStats(ExecutorStats other)
Performs a deep copy on other.
public ExecutorStats deepCopy()
deepCopy in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public void clear()
clear in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public int get_emitted_size()
public void unset_emitted()
public boolean is_set_emitted()
Returns true if field emitted is set (has been assigned a value) and false otherwise
public void set_emitted_isSet(boolean value)
public int get_transferred_size()
public void unset_transferred()
public boolean is_set_transferred()
Returns true if field transferred is set (has been assigned a value) and false otherwise
public void set_transferred_isSet(boolean value)
public ExecutorSpecificStats get_specific()
public void set_specific(ExecutorSpecificStats specific)
public void unset_specific()
public boolean is_set_specific()
Returns true if field specific is set (has been assigned a value) and false otherwise
public void set_specific_isSet(boolean value)
public double get_rate()
public void set_rate(double rate)
public void unset_rate()
public boolean is_set_rate()
Returns true if field rate is set (has been assigned a value) and false otherwise
public void set_rate_isSet(boolean value)
public void setFieldValue(ExecutorStats._Fields field, Object value)
setFieldValue in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public Object getFieldValue(ExecutorStats._Fields field)
getFieldValue in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public boolean isSet(ExecutorStats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public boolean equals(ExecutorStats that)
public int compareTo(ExecutorStats other)
compareTo in interface Comparable<ExecutorStats>public ExecutorStats._Fields fieldForId(int fieldId)
fieldForId in interface org.apache.storm.thrift.TBase<ExecutorStats,ExecutorStats._Fields>public void read(org.apache.storm.thrift.protocol.TProtocol iprot)
          throws org.apache.storm.thrift.TException
read in interface org.apache.storm.thrift.TSerializableorg.apache.storm.thrift.TExceptionpublic void write(org.apache.storm.thrift.protocol.TProtocol oprot)
           throws org.apache.storm.thrift.TException
write in interface org.apache.storm.thrift.TSerializableorg.apache.storm.thrift.TExceptionpublic void validate()
              throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.