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.13.0)")
public class ClusterSummary
extends Object
implements org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>, Serializable, Cloneable, Comparable<ClusterSummary>
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<ClusterSummary._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionClusterSummary
(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses) ClusterSummary
(ClusterSummary other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add_to_nimbuses
(NimbusSummary elem) void
void
void
clear()
int
compareTo
(ClusterSummary other) deepCopy()
boolean
boolean
equals
(ClusterSummary that) fieldForId
(int fieldId) int
int
int
int
hashCode()
boolean
Returns true if field nimbuses is set (has been assigned a value) and false otherwiseboolean
Returns true if field supervisors is set (has been assigned a value) and false otherwiseboolean
Returns true if field topologies is set (has been assigned a value) and false otherwiseboolean
isSet
(ClusterSummary._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_nimbuses
(List<NimbusSummary> nimbuses) void
set_nimbuses_isSet
(boolean value) void
set_supervisors
(List<SupervisorSummary> supervisors) void
set_supervisors_isSet
(boolean value) void
set_topologies
(List<TopologySummary> topologies) void
set_topologies_isSet
(boolean value) void
setFieldValue
(ClusterSummary._Fields field, Object value) toString()
void
void
void
void
validate()
void
write
(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:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<ClusterSummary,
ClusterSummary._Fields>
-
clear
public void clear()- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<ClusterSummary,
ClusterSummary._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.storm.thrift.TBase<ClusterSummary,
ClusterSummary._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<ClusterSummary>
-
fieldForId
- Specified by:
fieldForId
in 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:
read
in 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:
write
in 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
-