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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Map<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionWorkerMetricList(List<WorkerMetricPoint> metrics) WorkerMetricList(WorkerMetricList other) Performs a deep copy on other. -
Method Summary
Modifier 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
-
metaDataMap
public static final Map<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WorkerMetricList
public WorkerMetricList() -
WorkerMetricList
-
WorkerMetricList
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
get_metrics_size
public int get_metrics_size() -
get_metrics_iterator
-
add_to_metrics
-
get_metrics
-
set_metrics
-
unset_metrics
public void unset_metrics() -
is_set_metrics
public boolean is_set_metrics()Returns true if field metrics is set (has been assigned a value) and false otherwise -
set_metrics_isSet
public void set_metrics_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
isSet
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSetin interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WorkerMetricList>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
readin 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:
writein 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
-