Package org.apache.storm.generated
Class ClusterSummary
java.lang.Object
org.apache.storm.generated.ClusterSummary
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<ClusterSummary>,- org.apache.storm.thrift.TBase<ClusterSummary,,- ClusterSummary._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class ClusterSummary
extends Object
implements org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>, Serializable, Cloneable, Comparable<ClusterSummary> 
- 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<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionClusterSummary(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses) ClusterSummary(ClusterSummary other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd_to_nimbuses(NimbusSummary elem) voidvoidvoidclear()intcompareTo(ClusterSummary other) deepCopy()booleanbooleanequals(ClusterSummary that) fieldForId(int fieldId) intintintinthashCode()booleanReturns true if field nimbuses is set (has been assigned a value) and false otherwisebooleanReturns true if field supervisors is set (has been assigned a value) and false otherwisebooleanReturns true if field topologies is set (has been assigned a value) and false otherwisebooleanisSet(ClusterSummary._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_nimbuses(List<NimbusSummary> nimbuses) voidset_nimbuses_isSet(boolean value) voidset_supervisors(List<SupervisorSummary> supervisors) voidset_supervisors_isSet(boolean value) voidset_topologies(List<TopologySummary> topologies) voidset_topologies_isSet(boolean value) voidsetFieldValue(ClusterSummary._Fields field, Object value) toString()voidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
ClusterSummarypublic ClusterSummary()
- 
ClusterSummarypublic ClusterSummary(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses) 
- 
ClusterSummaryPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<ClusterSummary,- ClusterSummary._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<ClusterSummary,- ClusterSummary._Fields> 
 
- 
get_supervisors_sizepublic int get_supervisors_size()
- 
get_supervisors_iterator
- 
add_to_supervisors
- 
get_supervisors
- 
set_supervisors
- 
unset_supervisorspublic void unset_supervisors()
- 
is_set_supervisorspublic boolean is_set_supervisors()Returns true if field supervisors is set (has been assigned a value) and false otherwise
- 
set_supervisors_isSetpublic void set_supervisors_isSet(boolean value) 
- 
get_topologies_sizepublic int get_topologies_size()
- 
get_topologies_iterator
- 
add_to_topologies
- 
get_topologies
- 
set_topologies
- 
unset_topologiespublic void unset_topologies()
- 
is_set_topologiespublic boolean is_set_topologies()Returns true if field topologies is set (has been assigned a value) and false otherwise
- 
set_topologies_isSetpublic void set_topologies_isSet(boolean value) 
- 
get_nimbuses_sizepublic int get_nimbuses_size()
- 
get_nimbuses_iterator
- 
add_to_nimbuses
- 
get_nimbuses
- 
set_nimbuses
- 
unset_nimbusespublic void unset_nimbuses()
- 
is_set_nimbusespublic boolean is_set_nimbuses()Returns true if field nimbuses is set (has been assigned a value) and false otherwise
- 
set_nimbuses_isSetpublic void set_nimbuses_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<ClusterSummary,- ClusterSummary._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<ClusterSummary,- ClusterSummary._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<ClusterSummary,- ClusterSummary._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<ClusterSummary>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<ClusterSummary,- ClusterSummary._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
 
 
-