Package org.apache.storm.generated
Class ExecutorStats
java.lang.Object
org.apache.storm.generated.ExecutorStats
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<ExecutorStats>
,org.apache.storm.thrift.TBase<ExecutorStats,
,ExecutorStats._Fields> org.apache.storm.thrift.TSerializable
@Generated("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>
- 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<ExecutorStats._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionExecutorStats
(Map<String, Map<String, Long>> emitted, Map<String, Map<String, Long>> transferred, ExecutorSpecificStats specific, double rate) ExecutorStats
(ExecutorStats other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(ExecutorStats other) deepCopy()
boolean
boolean
equals
(ExecutorStats that) fieldForId
(int fieldId) int
double
get_rate()
int
int
hashCode()
boolean
Returns true if field emitted is set (has been assigned a value) and false otherwiseboolean
Returns true if field rate is set (has been assigned a value) and false otherwiseboolean
Returns true if field specific is set (has been assigned a value) and false otherwiseboolean
Returns true if field transferred is set (has been assigned a value) and false otherwiseboolean
isSet
(ExecutorStats._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
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
void
set_emitted_isSet
(boolean value) void
set_rate
(double rate) void
set_rate_isSet
(boolean value) void
set_specific
(ExecutorSpecificStats specific) void
set_specific_isSet
(boolean value) void
void
set_transferred_isSet
(boolean value) void
setFieldValue
(ExecutorStats._Fields field, Object value) toString()
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<ExecutorStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ExecutorStats
public ExecutorStats() -
ExecutorStats
-
ExecutorStats
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<ExecutorStats,
ExecutorStats._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<ExecutorStats,
ExecutorStats._Fields>
-
get_emitted_size
public int get_emitted_size() -
put_to_emitted
-
get_emitted
-
set_emitted
-
unset_emitted
public void unset_emitted() -
is_set_emitted
public boolean is_set_emitted()Returns true if field emitted is set (has been assigned a value) and false otherwise -
set_emitted_isSet
public void set_emitted_isSet(boolean value) -
get_transferred_size
public int get_transferred_size() -
put_to_transferred
-
get_transferred
-
set_transferred
-
unset_transferred
public void unset_transferred() -
is_set_transferred
public boolean is_set_transferred()Returns true if field transferred is set (has been assigned a value) and false otherwise -
set_transferred_isSet
public void set_transferred_isSet(boolean value) -
get_specific
-
set_specific
-
unset_specific
public void unset_specific() -
is_set_specific
public boolean is_set_specific()Returns true if field specific is set (has been assigned a value) and false otherwise -
set_specific_isSet
public void set_specific_isSet(boolean value) -
get_rate
public double get_rate() -
set_rate
public void set_rate(double rate) -
unset_rate
public void unset_rate() -
is_set_rate
public boolean is_set_rate()Returns true if field rate is set (has been assigned a value) and false otherwise -
set_rate_isSet
public void set_rate_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<ExecutorStats,
ExecutorStats._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<ExecutorStats,
ExecutorStats._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<ExecutorStats,
ExecutorStats._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ExecutorStats>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<ExecutorStats,
ExecutorStats._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
-