@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class WorkerMetrics extends Object implements org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>, Serializable, Cloneable, Comparable<WorkerMetrics>
Modifier and Type | Class and Description |
---|---|
static class |
WorkerMetrics._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<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
WorkerMetrics() |
WorkerMetrics(String topologyId,
int port,
String hostname,
WorkerMetricList metricList) |
WorkerMetrics(WorkerMetrics other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(WorkerMetrics other) |
WorkerMetrics |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(WorkerMetrics that) |
WorkerMetrics._Fields |
fieldForId(int fieldId) |
String |
get_hostname() |
WorkerMetricList |
get_metricList() |
int |
get_port() |
String |
get_topologyId() |
Object |
getFieldValue(WorkerMetrics._Fields field) |
int |
hashCode() |
boolean |
is_set_hostname()
Returns true if field hostname is set (has been assigned a value) and false otherwise
|
boolean |
is_set_metricList()
Returns true if field metricList is set (has been assigned a value) and false otherwise
|
boolean |
is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topologyId()
Returns true if field topologyId is set (has been assigned a value) and false otherwise
|
boolean |
isSet(WorkerMetrics._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_hostname_isSet(boolean value) |
void |
set_hostname(String hostname) |
void |
set_metricList_isSet(boolean value) |
void |
set_metricList(WorkerMetricList metricList) |
void |
set_port_isSet(boolean value) |
void |
set_port(int port) |
void |
set_topologyId_isSet(boolean value) |
void |
set_topologyId(String topologyId) |
void |
setFieldValue(WorkerMetrics._Fields field,
Object value) |
String |
toString() |
void |
unset_hostname() |
void |
unset_metricList() |
void |
unset_port() |
void |
unset_topologyId() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public WorkerMetrics()
public WorkerMetrics(String topologyId, int port, String hostname, WorkerMetricList metricList)
public WorkerMetrics(WorkerMetrics other)
public WorkerMetrics deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
public String get_topologyId()
public void set_topologyId(String topologyId)
public void unset_topologyId()
public boolean is_set_topologyId()
public void set_topologyId_isSet(boolean value)
public int get_port()
public void set_port(int port)
public void unset_port()
public boolean is_set_port()
public void set_port_isSet(boolean value)
public String get_hostname()
public void set_hostname(String hostname)
public void unset_hostname()
public boolean is_set_hostname()
public void set_hostname_isSet(boolean value)
public WorkerMetricList get_metricList()
public void set_metricList(WorkerMetricList metricList)
public void unset_metricList()
public boolean is_set_metricList()
public void set_metricList_isSet(boolean value)
public void setFieldValue(WorkerMetrics._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
public Object getFieldValue(WorkerMetrics._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
public boolean isSet(WorkerMetrics._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
public boolean equals(WorkerMetrics that)
public int compareTo(WorkerMetrics other)
compareTo
in interface Comparable<WorkerMetrics>
public WorkerMetrics._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._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 © 2023 The Apache Software Foundation. All rights reserved.