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 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<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorsConstructorDescriptionClusterSummary(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses) ClusterSummary(ClusterSummary other) Performs a deep copy on other. -
Method Summary
Modifier 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
-
metaDataMap
public static final Map<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
ClusterSummary
public ClusterSummary() -
ClusterSummary
public ClusterSummary(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses) -
ClusterSummary
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
-
clear
public void clear()- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
-
get_supervisors_size
public int get_supervisors_size() -
get_supervisors_iterator
-
add_to_supervisors
-
get_supervisors
-
set_supervisors
-
unset_supervisors
public void unset_supervisors() -
is_set_supervisors
public boolean is_set_supervisors()Returns true if field supervisors is set (has been assigned a value) and false otherwise -
set_supervisors_isSet
public void set_supervisors_isSet(boolean value) -
get_topologies_size
public int get_topologies_size() -
get_topologies_iterator
-
add_to_topologies
-
get_topologies
-
set_topologies
-
unset_topologies
public void unset_topologies() -
is_set_topologies
public boolean is_set_topologies()Returns true if field topologies is set (has been assigned a value) and false otherwise -
set_topologies_isSet
public void set_topologies_isSet(boolean value) -
get_nimbuses_size
public int get_nimbuses_size() -
get_nimbuses_iterator
-
add_to_nimbuses
-
get_nimbuses
-
set_nimbuses
-
unset_nimbuses
public void unset_nimbuses() -
is_set_nimbuses
public boolean is_set_nimbuses()Returns true if field nimbuses is set (has been assigned a value) and false otherwise -
set_nimbuses_isSet
public void set_nimbuses_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
-
getFieldValue
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._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<ClusterSummary,ClusterSummary._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<ClusterSummary>
-
fieldForId
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._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
-