@Generated(value="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>
Modifier and Type | Class and Description |
---|---|
static class |
ClusterSummary._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
ClusterSummary() |
ClusterSummary(ClusterSummary other)
Performs a deep copy on other.
|
ClusterSummary(List<SupervisorSummary> supervisors,
List<TopologySummary> topologies,
List<NimbusSummary> nimbuses) |
Modifier and Type | Method and Description |
---|---|
void |
add_to_nimbuses(NimbusSummary elem) |
void |
add_to_supervisors(SupervisorSummary elem) |
void |
add_to_topologies(TopologySummary elem) |
void |
clear() |
int |
compareTo(ClusterSummary other) |
ClusterSummary |
deepCopy() |
boolean |
equals(ClusterSummary that) |
boolean |
equals(Object that) |
ClusterSummary._Fields |
fieldForId(int fieldId) |
Iterator<NimbusSummary> |
get_nimbuses_iterator() |
int |
get_nimbuses_size() |
List<NimbusSummary> |
get_nimbuses() |
Iterator<SupervisorSummary> |
get_supervisors_iterator() |
int |
get_supervisors_size() |
List<SupervisorSummary> |
get_supervisors() |
Iterator<TopologySummary> |
get_topologies_iterator() |
int |
get_topologies_size() |
List<TopologySummary> |
get_topologies() |
Object |
getFieldValue(ClusterSummary._Fields field) |
int |
hashCode() |
boolean |
is_set_nimbuses()
Returns true if field nimbuses is set (has been assigned a value) and false otherwise
|
boolean |
is_set_supervisors()
Returns true if field supervisors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topologies()
Returns true if field topologies is set (has been assigned a value) and false otherwise
|
boolean |
isSet(ClusterSummary._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_nimbuses_isSet(boolean value) |
void |
set_nimbuses(List<NimbusSummary> nimbuses) |
void |
set_supervisors_isSet(boolean value) |
void |
set_supervisors(List<SupervisorSummary> supervisors) |
void |
set_topologies_isSet(boolean value) |
void |
set_topologies(List<TopologySummary> topologies) |
void |
setFieldValue(ClusterSummary._Fields field,
Object value) |
String |
toString() |
void |
unset_nimbuses() |
void |
unset_supervisors() |
void |
unset_topologies() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<ClusterSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public ClusterSummary()
public ClusterSummary(List<SupervisorSummary> supervisors, List<TopologySummary> topologies, List<NimbusSummary> nimbuses)
public ClusterSummary(ClusterSummary other)
Performs a deep copy on other.
public ClusterSummary deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public int get_supervisors_size()
public Iterator<SupervisorSummary> get_supervisors_iterator()
public void add_to_supervisors(SupervisorSummary elem)
public List<SupervisorSummary> get_supervisors()
public void set_supervisors(List<SupervisorSummary> supervisors)
public void unset_supervisors()
public boolean is_set_supervisors()
Returns true if field supervisors is set (has been assigned a value) and false otherwise
public void set_supervisors_isSet(boolean value)
public int get_topologies_size()
public Iterator<TopologySummary> get_topologies_iterator()
public void add_to_topologies(TopologySummary elem)
public List<TopologySummary> get_topologies()
public void set_topologies(List<TopologySummary> topologies)
public void unset_topologies()
public boolean is_set_topologies()
Returns true if field topologies is set (has been assigned a value) and false otherwise
public void set_topologies_isSet(boolean value)
public int get_nimbuses_size()
public Iterator<NimbusSummary> get_nimbuses_iterator()
public void add_to_nimbuses(NimbusSummary elem)
public List<NimbusSummary> get_nimbuses()
public void set_nimbuses(List<NimbusSummary> nimbuses)
public void unset_nimbuses()
public boolean is_set_nimbuses()
Returns true if field nimbuses is set (has been assigned a value) and false otherwise
public void set_nimbuses_isSet(boolean value)
public void setFieldValue(ClusterSummary._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public Object getFieldValue(ClusterSummary._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public boolean isSet(ClusterSummary._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public boolean equals(ClusterSummary that)
public int compareTo(ClusterSummary other)
compareTo
in interface Comparable<ClusterSummary>
public ClusterSummary._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<ClusterSummary,ClusterSummary._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2020 The Apache Software Foundation. All rights reserved.