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 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<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionWorkerMetrics(String topologyId, int port, String hostname, WorkerMetricList metricList) WorkerMetrics(WorkerMetrics other) Performs a deep copy on other.
- 
Method SummaryModifier 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- 
metaDataMappublic static final Map<WorkerMetrics._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
WorkerMetricspublic WorkerMetrics()
- 
WorkerMetrics
- 
WorkerMetricsPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<WorkerMetrics,- WorkerMetrics._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<WorkerMetrics,- WorkerMetrics._Fields> 
 
- 
get_topologyId
- 
set_topologyId
- 
unset_topologyIdpublic void unset_topologyId()
- 
is_set_topologyIdpublic boolean is_set_topologyId()Returns true if field topologyId is set (has been assigned a value) and false otherwise
- 
set_topologyId_isSetpublic void set_topologyId_isSet(boolean value) 
- 
get_portpublic int get_port()
- 
set_portpublic void set_port(int port) 
- 
unset_portpublic void unset_port()
- 
is_set_portpublic boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise
- 
set_port_isSetpublic void set_port_isSet(boolean value) 
- 
get_hostname
- 
set_hostname
- 
unset_hostnamepublic void unset_hostname()
- 
is_set_hostnamepublic boolean is_set_hostname()Returns true if field hostname is set (has been assigned a value) and false otherwise
- 
set_hostname_isSetpublic void set_hostname_isSet(boolean value) 
- 
get_metricList
- 
set_metricList
- 
unset_metricListpublic void unset_metricList()
- 
is_set_metricListpublic boolean is_set_metricList()Returns true if field metricList is set (has been assigned a value) and false otherwise
- 
set_metricList_isSetpublic void set_metricList_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<WorkerMetrics,- WorkerMetrics._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<WorkerMetrics,- WorkerMetrics._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<WorkerMetrics,- WorkerMetrics._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<WorkerMetrics>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<WorkerMetrics,- WorkerMetrics._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
 
 
-