Package org.apache.storm.generated
Class WorkerMetricList
java.lang.Object
org.apache.storm.generated.WorkerMetricList
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<WorkerMetricList>,- org.apache.storm.thrift.TBase<WorkerMetricList,,- WorkerMetricList._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class WorkerMetricList
extends Object
implements org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>, Serializable, Cloneable, Comparable<WorkerMetricList> 
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionWorkerMetricList(List<WorkerMetricPoint> metrics) WorkerMetricList(WorkerMetricList other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidclear()intcompareTo(WorkerMetricList other) deepCopy()booleanbooleanequals(WorkerMetricList that) fieldForId(int fieldId) intinthashCode()booleanReturns true if field metrics is set (has been assigned a value) and false otherwisebooleanisSet(WorkerMetricList._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_metrics(List<WorkerMetricPoint> metrics) voidset_metrics_isSet(boolean value) voidsetFieldValue(WorkerMetricList._Fields field, Object value) toString()voidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
WorkerMetricListpublic WorkerMetricList()
- 
WorkerMetricList
- 
WorkerMetricListPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
get_metrics_sizepublic int get_metrics_size()
- 
get_metrics_iterator
- 
add_to_metrics
- 
get_metrics
- 
set_metrics
- 
unset_metricspublic void unset_metrics()
- 
is_set_metricspublic boolean is_set_metrics()Returns true if field metrics is set (has been assigned a value) and false otherwise
- 
set_metrics_isSetpublic void set_metrics_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<WorkerMetricList>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<WorkerMetricList,- WorkerMetricList._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-