Package org.apache.storm.generated
Class SpoutStats
java.lang.Object
org.apache.storm.generated.SpoutStats
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<SpoutStats>
,org.apache.storm.thrift.TBase<SpoutStats,
,SpoutStats._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class SpoutStats
extends Object
implements org.apache.storm.thrift.TBase<SpoutStats,SpoutStats._Fields>, Serializable, Cloneable, Comparable<SpoutStats>
- 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<SpoutStats._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
int
compareTo
(SpoutStats other) deepCopy()
boolean
boolean
equals
(SpoutStats that) fieldForId
(int fieldId) int
int
int
getFieldValue
(SpoutStats._Fields field) int
hashCode()
boolean
Returns true if field acked is set (has been assigned a value) and false otherwiseboolean
Returns true if field complete_ms_avg 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
isSet
(SpoutStats._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<String, Long> val) void
put_to_complete_ms_avg
(String key, Map<String, Double> val) void
put_to_failed
(String key, Map<String, Long> val) void
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
void
set_acked_isSet
(boolean value) void
void
set_complete_ms_avg_isSet
(boolean value) void
void
set_failed_isSet
(boolean value) void
setFieldValue
(SpoutStats._Fields field, Object value) toString()
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SpoutStats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SpoutStats
public SpoutStats() -
SpoutStats
-
SpoutStats
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<SpoutStats,
SpoutStats._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<SpoutStats,
SpoutStats._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_complete_ms_avg_size
public int get_complete_ms_avg_size() -
put_to_complete_ms_avg
-
get_complete_ms_avg
-
set_complete_ms_avg
-
unset_complete_ms_avg
public void unset_complete_ms_avg() -
is_set_complete_ms_avg
public boolean is_set_complete_ms_avg()Returns true if field complete_ms_avg is set (has been assigned a value) and false otherwise -
set_complete_ms_avg_isSet
public void set_complete_ms_avg_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SpoutStats,
SpoutStats._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SpoutStats,
SpoutStats._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<SpoutStats,
SpoutStats._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SpoutStats>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<SpoutStats,
SpoutStats._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
-