@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class WorkerMetricList extends Object implements org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>, Serializable, Cloneable, Comparable<WorkerMetricList>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerMetricList._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<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WorkerMetricList() |
WorkerMetricList(List<WorkerMetricPoint> metrics) |
WorkerMetricList(WorkerMetricList other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
add_to_metrics(WorkerMetricPoint elem) |
void |
clear() |
int |
compareTo(WorkerMetricList other) |
WorkerMetricList |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerMetricList that) |
WorkerMetricList._Fields |
fieldForId(int fieldId) |
Iterator<WorkerMetricPoint> |
get_metrics_iterator() |
int |
get_metrics_size() |
List<WorkerMetricPoint> |
get_metrics() |
Object |
getFieldValue(WorkerMetricList._Fields field) |
int |
hashCode() |
boolean |
is_set_metrics()
Returns true if field metrics is set (has been assigned a value) and false otherwise
|
boolean |
isSet(WorkerMetricList._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_metrics_isSet(boolean value) |
void |
set_metrics(List<WorkerMetricPoint> metrics) |
void |
setFieldValue(WorkerMetricList._Fields field,
Object value) |
String |
toString() |
void |
unset_metrics() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<WorkerMetricList._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerMetricList()
public WorkerMetricList(List<WorkerMetricPoint> metrics)
public WorkerMetricList(WorkerMetricList other)
Performs a deep copy on other.
public WorkerMetricList deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
public int get_metrics_size()
public Iterator<WorkerMetricPoint> get_metrics_iterator()
public void add_to_metrics(WorkerMetricPoint elem)
public List<WorkerMetricPoint> get_metrics()
public void set_metrics(List<WorkerMetricPoint> metrics)
public void unset_metrics()
public boolean is_set_metrics()
Returns true if field metrics is set (has been assigned a value) and false otherwise
public void set_metrics_isSet(boolean value)
public void setFieldValue(WorkerMetricList._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
public Object getFieldValue(WorkerMetricList._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
public boolean isSet(WorkerMetricList._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<WorkerMetricList,WorkerMetricList._Fields>
public boolean equals(WorkerMetricList that)
public int compareTo(WorkerMetricList other)
compareTo
in interface Comparable<WorkerMetricList>
public WorkerMetricList._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<WorkerMetricList,WorkerMetricList._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2022 The Apache Software Foundation. All rights reserved.