@Generated(value="Autogenerated by Thrift Compiler (0.9.3)") public class TopologyPageInfo extends Object implements org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>, Serializable, Cloneable, Comparable<TopologyPageInfo>
Modifier and Type | Class and Description |
---|---|
static class |
TopologyPageInfo._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<TopologyPageInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
TopologyPageInfo() |
TopologyPageInfo(String id) |
TopologyPageInfo(TopologyPageInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
add_to_workers(WorkerSummary elem) |
void |
clear() |
int |
compareTo(TopologyPageInfo other) |
TopologyPageInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(TopologyPageInfo that) |
TopologyPageInfo._Fields |
fieldForId(int fieldId) |
double |
get_assigned_cpu() |
double |
get_assigned_memoffheap() |
double |
get_assigned_memonheap() |
DebugOptions |
get_debug_options() |
int |
get_id_to_bolt_agg_stats_size() |
Map<String,ComponentAggregateStats> |
get_id_to_bolt_agg_stats() |
int |
get_id_to_spout_agg_stats_size() |
Map<String,ComponentAggregateStats> |
get_id_to_spout_agg_stats() |
String |
get_id() |
String |
get_name() |
int |
get_num_executors() |
int |
get_num_tasks() |
int |
get_num_workers() |
String |
get_owner() |
int |
get_replication_count() |
double |
get_requested_cpu() |
double |
get_requested_memoffheap() |
double |
get_requested_memonheap() |
String |
get_sched_status() |
String |
get_status() |
String |
get_topology_conf() |
TopologyStats |
get_topology_stats() |
int |
get_uptime_secs() |
Iterator<WorkerSummary> |
get_workers_iterator() |
int |
get_workers_size() |
List<WorkerSummary> |
get_workers() |
Object |
getFieldValue(TopologyPageInfo._Fields field) |
int |
hashCode() |
boolean |
is_set_assigned_cpu()
Returns true if field assigned_cpu is set (has been assigned a value) and false otherwise
|
boolean |
is_set_assigned_memoffheap()
Returns true if field assigned_memoffheap is set (has been assigned a value) and false otherwise
|
boolean |
is_set_assigned_memonheap()
Returns true if field assigned_memonheap is set (has been assigned a value) and false otherwise
|
boolean |
is_set_debug_options()
Returns true if field debug_options is set (has been assigned a value) and false otherwise
|
boolean |
is_set_id_to_bolt_agg_stats()
Returns true if field id_to_bolt_agg_stats is set (has been assigned a value) and false otherwise
|
boolean |
is_set_id_to_spout_agg_stats()
Returns true if field id_to_spout_agg_stats is set (has been assigned a value) and false otherwise
|
boolean |
is_set_id()
Returns true if field id is set (has been assigned a value) and false otherwise
|
boolean |
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_tasks()
Returns true if field num_tasks is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
|
boolean |
is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
|
boolean |
is_set_replication_count()
Returns true if field replication_count is set (has been assigned a value) and false otherwise
|
boolean |
is_set_requested_cpu()
Returns true if field requested_cpu is set (has been assigned a value) and false otherwise
|
boolean |
is_set_requested_memoffheap()
Returns true if field requested_memoffheap is set (has been assigned a value) and false otherwise
|
boolean |
is_set_requested_memonheap()
Returns true if field requested_memonheap is set (has been assigned a value) and false otherwise
|
boolean |
is_set_sched_status()
Returns true if field sched_status is set (has been assigned a value) and false otherwise
|
boolean |
is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_conf()
Returns true if field topology_conf is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_stats()
Returns true if field topology_stats is set (has been assigned a value) and false otherwise
|
boolean |
is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
|
boolean |
is_set_workers()
Returns true if field workers is set (has been assigned a value) and false otherwise
|
boolean |
isSet(TopologyPageInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_id_to_bolt_agg_stats(String key,
ComponentAggregateStats val) |
void |
put_to_id_to_spout_agg_stats(String key,
ComponentAggregateStats val) |
void |
read(org.apache.thrift.protocol.TProtocol iprot) |
void |
set_assigned_cpu_isSet(boolean value) |
void |
set_assigned_cpu(double assigned_cpu) |
void |
set_assigned_memoffheap_isSet(boolean value) |
void |
set_assigned_memoffheap(double assigned_memoffheap) |
void |
set_assigned_memonheap_isSet(boolean value) |
void |
set_assigned_memonheap(double assigned_memonheap) |
void |
set_debug_options_isSet(boolean value) |
void |
set_debug_options(DebugOptions debug_options) |
void |
set_id_isSet(boolean value) |
void |
set_id_to_bolt_agg_stats_isSet(boolean value) |
void |
set_id_to_bolt_agg_stats(Map<String,ComponentAggregateStats> id_to_bolt_agg_stats) |
void |
set_id_to_spout_agg_stats_isSet(boolean value) |
void |
set_id_to_spout_agg_stats(Map<String,ComponentAggregateStats> id_to_spout_agg_stats) |
void |
set_id(String id) |
void |
set_name_isSet(boolean value) |
void |
set_name(String name) |
void |
set_num_executors_isSet(boolean value) |
void |
set_num_executors(int num_executors) |
void |
set_num_tasks_isSet(boolean value) |
void |
set_num_tasks(int num_tasks) |
void |
set_num_workers_isSet(boolean value) |
void |
set_num_workers(int num_workers) |
void |
set_owner_isSet(boolean value) |
void |
set_owner(String owner) |
void |
set_replication_count_isSet(boolean value) |
void |
set_replication_count(int replication_count) |
void |
set_requested_cpu_isSet(boolean value) |
void |
set_requested_cpu(double requested_cpu) |
void |
set_requested_memoffheap_isSet(boolean value) |
void |
set_requested_memoffheap(double requested_memoffheap) |
void |
set_requested_memonheap_isSet(boolean value) |
void |
set_requested_memonheap(double requested_memonheap) |
void |
set_sched_status_isSet(boolean value) |
void |
set_sched_status(String sched_status) |
void |
set_status_isSet(boolean value) |
void |
set_status(String status) |
void |
set_topology_conf_isSet(boolean value) |
void |
set_topology_conf(String topology_conf) |
void |
set_topology_stats_isSet(boolean value) |
void |
set_topology_stats(TopologyStats topology_stats) |
void |
set_uptime_secs_isSet(boolean value) |
void |
set_uptime_secs(int uptime_secs) |
void |
set_workers_isSet(boolean value) |
void |
set_workers(List<WorkerSummary> workers) |
void |
setFieldValue(TopologyPageInfo._Fields field,
Object value) |
String |
toString() |
void |
unset_assigned_cpu() |
void |
unset_assigned_memoffheap() |
void |
unset_assigned_memonheap() |
void |
unset_debug_options() |
void |
unset_id_to_bolt_agg_stats() |
void |
unset_id_to_spout_agg_stats() |
void |
unset_id() |
void |
unset_name() |
void |
unset_num_executors() |
void |
unset_num_tasks() |
void |
unset_num_workers() |
void |
unset_owner() |
void |
unset_replication_count() |
void |
unset_requested_cpu() |
void |
unset_requested_memoffheap() |
void |
unset_requested_memonheap() |
void |
unset_sched_status() |
void |
unset_status() |
void |
unset_topology_conf() |
void |
unset_topology_stats() |
void |
unset_uptime_secs() |
void |
unset_workers() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public static final Map<TopologyPageInfo._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TopologyPageInfo()
public TopologyPageInfo(String id)
public TopologyPageInfo(TopologyPageInfo other)
Performs a deep copy on other.
public TopologyPageInfo deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public String get_id()
public void set_id(String id)
public void unset_id()
public boolean is_set_id()
Returns true if field id is set (has been assigned a value) and false otherwise
public void set_id_isSet(boolean value)
public String get_name()
public void set_name(String name)
public void unset_name()
public boolean is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
public void set_name_isSet(boolean value)
public int get_uptime_secs()
public void set_uptime_secs(int uptime_secs)
public void unset_uptime_secs()
public boolean is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
public void set_uptime_secs_isSet(boolean value)
public String get_status()
public void set_status(String status)
public void unset_status()
public boolean is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
public void set_status_isSet(boolean value)
public int get_num_tasks()
public void set_num_tasks(int num_tasks)
public void unset_num_tasks()
public boolean is_set_num_tasks()
Returns true if field num_tasks is set (has been assigned a value) and false otherwise
public void set_num_tasks_isSet(boolean value)
public int get_num_workers()
public void set_num_workers(int num_workers)
public void unset_num_workers()
public boolean is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
public void set_num_workers_isSet(boolean value)
public int get_num_executors()
public void set_num_executors(int num_executors)
public void unset_num_executors()
public boolean is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
public void set_num_executors_isSet(boolean value)
public String get_topology_conf()
public void set_topology_conf(String topology_conf)
public void unset_topology_conf()
public boolean is_set_topology_conf()
Returns true if field topology_conf is set (has been assigned a value) and false otherwise
public void set_topology_conf_isSet(boolean value)
public int get_id_to_spout_agg_stats_size()
public void put_to_id_to_spout_agg_stats(String key, ComponentAggregateStats val)
public Map<String,ComponentAggregateStats> get_id_to_spout_agg_stats()
public void set_id_to_spout_agg_stats(Map<String,ComponentAggregateStats> id_to_spout_agg_stats)
public void unset_id_to_spout_agg_stats()
public boolean is_set_id_to_spout_agg_stats()
Returns true if field id_to_spout_agg_stats is set (has been assigned a value) and false otherwise
public void set_id_to_spout_agg_stats_isSet(boolean value)
public int get_id_to_bolt_agg_stats_size()
public void put_to_id_to_bolt_agg_stats(String key, ComponentAggregateStats val)
public Map<String,ComponentAggregateStats> get_id_to_bolt_agg_stats()
public void set_id_to_bolt_agg_stats(Map<String,ComponentAggregateStats> id_to_bolt_agg_stats)
public void unset_id_to_bolt_agg_stats()
public boolean is_set_id_to_bolt_agg_stats()
Returns true if field id_to_bolt_agg_stats is set (has been assigned a value) and false otherwise
public void set_id_to_bolt_agg_stats_isSet(boolean value)
public String get_sched_status()
public void set_sched_status(String sched_status)
public void unset_sched_status()
public boolean is_set_sched_status()
Returns true if field sched_status is set (has been assigned a value) and false otherwise
public void set_sched_status_isSet(boolean value)
public TopologyStats get_topology_stats()
public void set_topology_stats(TopologyStats topology_stats)
public void unset_topology_stats()
public boolean is_set_topology_stats()
Returns true if field topology_stats is set (has been assigned a value) and false otherwise
public void set_topology_stats_isSet(boolean value)
public String get_owner()
public void set_owner(String owner)
public void unset_owner()
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
public void set_owner_isSet(boolean value)
public DebugOptions get_debug_options()
public void set_debug_options(DebugOptions debug_options)
public void unset_debug_options()
public boolean is_set_debug_options()
Returns true if field debug_options is set (has been assigned a value) and false otherwise
public void set_debug_options_isSet(boolean value)
public int get_replication_count()
public void set_replication_count(int replication_count)
public void unset_replication_count()
public boolean is_set_replication_count()
Returns true if field replication_count is set (has been assigned a value) and false otherwise
public void set_replication_count_isSet(boolean value)
public int get_workers_size()
public Iterator<WorkerSummary> get_workers_iterator()
public void add_to_workers(WorkerSummary elem)
public List<WorkerSummary> get_workers()
public void set_workers(List<WorkerSummary> workers)
public void unset_workers()
public boolean is_set_workers()
Returns true if field workers is set (has been assigned a value) and false otherwise
public void set_workers_isSet(boolean value)
public double get_requested_memonheap()
public void set_requested_memonheap(double requested_memonheap)
public void unset_requested_memonheap()
public boolean is_set_requested_memonheap()
Returns true if field requested_memonheap is set (has been assigned a value) and false otherwise
public void set_requested_memonheap_isSet(boolean value)
public double get_requested_memoffheap()
public void set_requested_memoffheap(double requested_memoffheap)
public void unset_requested_memoffheap()
public boolean is_set_requested_memoffheap()
Returns true if field requested_memoffheap is set (has been assigned a value) and false otherwise
public void set_requested_memoffheap_isSet(boolean value)
public double get_requested_cpu()
public void set_requested_cpu(double requested_cpu)
public void unset_requested_cpu()
public boolean is_set_requested_cpu()
Returns true if field requested_cpu is set (has been assigned a value) and false otherwise
public void set_requested_cpu_isSet(boolean value)
public double get_assigned_memonheap()
public void set_assigned_memonheap(double assigned_memonheap)
public void unset_assigned_memonheap()
public boolean is_set_assigned_memonheap()
Returns true if field assigned_memonheap is set (has been assigned a value) and false otherwise
public void set_assigned_memonheap_isSet(boolean value)
public double get_assigned_memoffheap()
public void set_assigned_memoffheap(double assigned_memoffheap)
public void unset_assigned_memoffheap()
public boolean is_set_assigned_memoffheap()
Returns true if field assigned_memoffheap is set (has been assigned a value) and false otherwise
public void set_assigned_memoffheap_isSet(boolean value)
public double get_assigned_cpu()
public void set_assigned_cpu(double assigned_cpu)
public void unset_assigned_cpu()
public boolean is_set_assigned_cpu()
Returns true if field assigned_cpu is set (has been assigned a value) and false otherwise
public void set_assigned_cpu_isSet(boolean value)
public void setFieldValue(TopologyPageInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public Object getFieldValue(TopologyPageInfo._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public boolean isSet(TopologyPageInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
isSet
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public boolean equals(TopologyPageInfo that)
public int compareTo(TopologyPageInfo other)
compareTo
in interface Comparable<TopologyPageInfo>
public TopologyPageInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TopologyPageInfo,TopologyPageInfo._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.