Package org.apache.storm.generated
Class WorkerMetrics
java.lang.Object
org.apache.storm.generated.WorkerMetrics
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<WorkerMetrics>,org.apache.storm.thrift.TBase<WorkerMetrics,,WorkerMetrics._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class WorkerMetrics
extends Object
implements org.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>, Serializable, Cloneable, Comparable<WorkerMetrics>
- 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<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionWorkerMetrics(String topologyId, int port, String hostname, WorkerMetricList metricList) WorkerMetrics(WorkerMetrics other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()intcompareTo(WorkerMetrics other) deepCopy()booleanbooleanequals(WorkerMetrics that) fieldForId(int fieldId) intget_port()inthashCode()booleanReturns true if field hostname is set (has been assigned a value) and false otherwisebooleanReturns true if field metricList is set (has been assigned a value) and false otherwisebooleanReturns true if field port is set (has been assigned a value) and false otherwisebooleanReturns true if field topologyId is set (has been assigned a value) and false otherwisebooleanisSet(WorkerMetrics._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_hostname(String hostname) voidset_hostname_isSet(boolean value) voidset_metricList(WorkerMetricList metricList) voidset_metricList_isSet(boolean value) voidset_port(int port) voidset_port_isSet(boolean value) voidset_topologyId(String topologyId) voidset_topologyId_isSet(boolean value) voidsetFieldValue(WorkerMetrics._Fields field, Object value) toString()voidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
WorkerMetrics
public WorkerMetrics() -
WorkerMetrics
-
WorkerMetrics
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
-
get_topologyId
-
set_topologyId
-
unset_topologyId
public void unset_topologyId() -
is_set_topologyId
public boolean is_set_topologyId()Returns true if field topologyId is set (has been assigned a value) and false otherwise -
set_topologyId_isSet
public void set_topologyId_isSet(boolean value) -
get_port
public int get_port() -
set_port
public void set_port(int port) -
unset_port
public void unset_port() -
is_set_port
public boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise -
set_port_isSet
public void set_port_isSet(boolean value) -
get_hostname
-
set_hostname
-
unset_hostname
public void unset_hostname() -
is_set_hostname
public boolean is_set_hostname()Returns true if field hostname is set (has been assigned a value) and false otherwise -
set_hostname_isSet
public void set_hostname_isSet(boolean value) -
get_metricList
-
set_metricList
-
unset_metricList
public void unset_metricList() -
is_set_metricList
public boolean is_set_metricList()Returns true if field metricList is set (has been assigned a value) and false otherwise -
set_metricList_isSet
public void set_metricList_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._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<WorkerMetrics,WorkerMetrics._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<WorkerMetrics>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<WorkerMetrics,WorkerMetrics._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
-