Package org.apache.storm.generated
Class TopologyInfo
- java.lang.Object
-
- org.apache.storm.generated.TopologyInfo
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<TopologyInfo>,org.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class TopologyInfo extends Object implements org.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>, Serializable, Cloneable, Comparable<TopologyInfo>- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopologyInfo._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description static Map<TopologyInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description TopologyInfo()TopologyInfo(String id, String name, int uptime_secs, List<ExecutorSummary> executors, String status, Map<String,List<ErrorInfo>> errors)TopologyInfo(TopologyInfo other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd_to_executors(ExecutorSummary elem)voidclear()intcompareTo(TopologyInfo other)TopologyInfodeepCopy()booleanequals(Object that)booleanequals(TopologyInfo that)TopologyInfo._FieldsfieldForId(int fieldId)doubleget_assigned_cpu()doubleget_assigned_memoffheap()doubleget_assigned_memonheap()Map<String,DebugOptions>get_component_debug()intget_component_debug_size()Map<String,List<ErrorInfo>>get_errors()intget_errors_size()List<ExecutorSummary>get_executors()Iterator<ExecutorSummary>get_executors_iterator()intget_executors_size()Stringget_id()Stringget_name()Stringget_owner()intget_replication_count()doubleget_requested_cpu()doubleget_requested_memoffheap()doubleget_requested_memonheap()Stringget_sched_status()Stringget_status()Stringget_storm_version()intget_uptime_secs()ObjectgetFieldValue(TopologyInfo._Fields field)inthashCode()booleanis_set_assigned_cpu()Returns true if field assigned_cpu is set (has been assigned a value) and false otherwisebooleanis_set_assigned_memoffheap()Returns true if field assigned_memoffheap is set (has been assigned a value) and false otherwisebooleanis_set_assigned_memonheap()Returns true if field assigned_memonheap is set (has been assigned a value) and false otherwisebooleanis_set_component_debug()Returns true if field component_debug is set (has been assigned a value) and false otherwisebooleanis_set_errors()Returns true if field errors is set (has been assigned a value) and false otherwisebooleanis_set_executors()Returns true if field executors is set (has been assigned a value) and false otherwisebooleanis_set_id()Returns true if field id is set (has been assigned a value) and false otherwisebooleanis_set_name()Returns true if field name is set (has been assigned a value) and false otherwisebooleanis_set_owner()Returns true if field owner is set (has been assigned a value) and false otherwisebooleanis_set_replication_count()Returns true if field replication_count is set (has been assigned a value) and false otherwisebooleanis_set_requested_cpu()Returns true if field requested_cpu is set (has been assigned a value) and false otherwisebooleanis_set_requested_memoffheap()Returns true if field requested_memoffheap is set (has been assigned a value) and false otherwisebooleanis_set_requested_memonheap()Returns true if field requested_memonheap is set (has been assigned a value) and false otherwisebooleanis_set_sched_status()Returns true if field sched_status is set (has been assigned a value) and false otherwisebooleanis_set_status()Returns true if field status is set (has been assigned a value) and false otherwisebooleanis_set_storm_version()Returns true if field storm_version is set (has been assigned a value) and false otherwisebooleanis_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwisebooleanisSet(TopologyInfo._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_component_debug(String key, DebugOptions val)voidput_to_errors(String key, List<ErrorInfo> val)voidread(org.apache.storm.thrift.protocol.TProtocol iprot)voidset_assigned_cpu(double assigned_cpu)voidset_assigned_cpu_isSet(boolean value)voidset_assigned_memoffheap(double assigned_memoffheap)voidset_assigned_memoffheap_isSet(boolean value)voidset_assigned_memonheap(double assigned_memonheap)voidset_assigned_memonheap_isSet(boolean value)voidset_component_debug(Map<String,DebugOptions> component_debug)voidset_component_debug_isSet(boolean value)voidset_errors(Map<String,List<ErrorInfo>> errors)voidset_errors_isSet(boolean value)voidset_executors(List<ExecutorSummary> executors)voidset_executors_isSet(boolean value)voidset_id(String id)voidset_id_isSet(boolean value)voidset_name(String name)voidset_name_isSet(boolean value)voidset_owner(String owner)voidset_owner_isSet(boolean value)voidset_replication_count(int replication_count)voidset_replication_count_isSet(boolean value)voidset_requested_cpu(double requested_cpu)voidset_requested_cpu_isSet(boolean value)voidset_requested_memoffheap(double requested_memoffheap)voidset_requested_memoffheap_isSet(boolean value)voidset_requested_memonheap(double requested_memonheap)voidset_requested_memonheap_isSet(boolean value)voidset_sched_status(String sched_status)voidset_sched_status_isSet(boolean value)voidset_status(String status)voidset_status_isSet(boolean value)voidset_storm_version(String storm_version)voidset_storm_version_isSet(boolean value)voidset_uptime_secs(int uptime_secs)voidset_uptime_secs_isSet(boolean value)voidsetFieldValue(TopologyInfo._Fields field, Object value)StringtoString()voidunset_assigned_cpu()voidunset_assigned_memoffheap()voidunset_assigned_memonheap()voidunset_component_debug()voidunset_errors()voidunset_executors()voidunset_id()voidunset_name()voidunset_owner()voidunset_replication_count()voidunset_requested_cpu()voidunset_requested_memoffheap()voidunset_requested_memonheap()voidunset_sched_status()voidunset_status()voidunset_storm_version()voidunset_uptime_secs()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<TopologyInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
TopologyInfo
public TopologyInfo()
-
TopologyInfo
public TopologyInfo(String id, String name, int uptime_secs, List<ExecutorSummary> executors, String status, Map<String,List<ErrorInfo>> errors)
-
TopologyInfo
public TopologyInfo(TopologyInfo other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public TopologyInfo deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>
-
get_id
public String get_id()
-
set_id
public void set_id(String id)
-
unset_id
public void unset_id()
-
is_set_id
public boolean is_set_id()
Returns true if field id is set (has been assigned a value) and false otherwise
-
set_id_isSet
public void set_id_isSet(boolean value)
-
get_name
public String get_name()
-
set_name
public void set_name(String name)
-
unset_name
public void unset_name()
-
is_set_name
public boolean is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
-
set_name_isSet
public void set_name_isSet(boolean value)
-
get_uptime_secs
public int get_uptime_secs()
-
set_uptime_secs
public void set_uptime_secs(int uptime_secs)
-
unset_uptime_secs
public void unset_uptime_secs()
-
is_set_uptime_secs
public boolean is_set_uptime_secs()
Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
-
set_uptime_secs_isSet
public void set_uptime_secs_isSet(boolean value)
-
get_executors_size
public int get_executors_size()
-
get_executors_iterator
public Iterator<ExecutorSummary> get_executors_iterator()
-
add_to_executors
public void add_to_executors(ExecutorSummary elem)
-
get_executors
public List<ExecutorSummary> get_executors()
-
set_executors
public void set_executors(List<ExecutorSummary> executors)
-
unset_executors
public void unset_executors()
-
is_set_executors
public boolean is_set_executors()
Returns true if field executors is set (has been assigned a value) and false otherwise
-
set_executors_isSet
public void set_executors_isSet(boolean value)
-
get_status
public String get_status()
-
set_status
public void set_status(String status)
-
unset_status
public void unset_status()
-
is_set_status
public boolean is_set_status()
Returns true if field status is set (has been assigned a value) and false otherwise
-
set_status_isSet
public void set_status_isSet(boolean value)
-
get_errors_size
public int get_errors_size()
-
unset_errors
public void unset_errors()
-
is_set_errors
public boolean is_set_errors()
Returns true if field errors is set (has been assigned a value) and false otherwise
-
set_errors_isSet
public void set_errors_isSet(boolean value)
-
get_component_debug_size
public int get_component_debug_size()
-
put_to_component_debug
public void put_to_component_debug(String key, DebugOptions val)
-
get_component_debug
public Map<String,DebugOptions> get_component_debug()
-
set_component_debug
public void set_component_debug(Map<String,DebugOptions> component_debug)
-
unset_component_debug
public void unset_component_debug()
-
is_set_component_debug
public boolean is_set_component_debug()
Returns true if field component_debug is set (has been assigned a value) and false otherwise
-
set_component_debug_isSet
public void set_component_debug_isSet(boolean value)
-
get_storm_version
public String get_storm_version()
-
set_storm_version
public void set_storm_version(String storm_version)
-
unset_storm_version
public void unset_storm_version()
-
is_set_storm_version
public boolean is_set_storm_version()
Returns true if field storm_version is set (has been assigned a value) and false otherwise
-
set_storm_version_isSet
public void set_storm_version_isSet(boolean value)
-
get_sched_status
public String get_sched_status()
-
set_sched_status
public void set_sched_status(String sched_status)
-
unset_sched_status
public void unset_sched_status()
-
is_set_sched_status
public boolean is_set_sched_status()
Returns true if field sched_status is set (has been assigned a value) and false otherwise
-
set_sched_status_isSet
public void set_sched_status_isSet(boolean value)
-
get_owner
public String get_owner()
-
set_owner
public void set_owner(String owner)
-
unset_owner
public void unset_owner()
-
is_set_owner
public boolean is_set_owner()
Returns true if field owner is set (has been assigned a value) and false otherwise
-
set_owner_isSet
public void set_owner_isSet(boolean value)
-
get_replication_count
public int get_replication_count()
-
set_replication_count
public void set_replication_count(int replication_count)
-
unset_replication_count
public void unset_replication_count()
-
is_set_replication_count
public boolean is_set_replication_count()
Returns true if field replication_count is set (has been assigned a value) and false otherwise
-
set_replication_count_isSet
public void set_replication_count_isSet(boolean value)
-
get_requested_memonheap
public double get_requested_memonheap()
-
set_requested_memonheap
public void set_requested_memonheap(double requested_memonheap)
-
unset_requested_memonheap
public void unset_requested_memonheap()
-
is_set_requested_memonheap
public boolean is_set_requested_memonheap()
Returns true if field requested_memonheap is set (has been assigned a value) and false otherwise
-
set_requested_memonheap_isSet
public void set_requested_memonheap_isSet(boolean value)
-
get_requested_memoffheap
public double get_requested_memoffheap()
-
set_requested_memoffheap
public void set_requested_memoffheap(double requested_memoffheap)
-
unset_requested_memoffheap
public void unset_requested_memoffheap()
-
is_set_requested_memoffheap
public boolean is_set_requested_memoffheap()
Returns true if field requested_memoffheap is set (has been assigned a value) and false otherwise
-
set_requested_memoffheap_isSet
public void set_requested_memoffheap_isSet(boolean value)
-
get_requested_cpu
public double get_requested_cpu()
-
set_requested_cpu
public void set_requested_cpu(double requested_cpu)
-
unset_requested_cpu
public void unset_requested_cpu()
-
is_set_requested_cpu
public boolean is_set_requested_cpu()
Returns true if field requested_cpu is set (has been assigned a value) and false otherwise
-
set_requested_cpu_isSet
public void set_requested_cpu_isSet(boolean value)
-
get_assigned_memonheap
public double get_assigned_memonheap()
-
set_assigned_memonheap
public void set_assigned_memonheap(double assigned_memonheap)
-
unset_assigned_memonheap
public void unset_assigned_memonheap()
-
is_set_assigned_memonheap
public boolean is_set_assigned_memonheap()
Returns true if field assigned_memonheap is set (has been assigned a value) and false otherwise
-
set_assigned_memonheap_isSet
public void set_assigned_memonheap_isSet(boolean value)
-
get_assigned_memoffheap
public double get_assigned_memoffheap()
-
set_assigned_memoffheap
public void set_assigned_memoffheap(double assigned_memoffheap)
-
unset_assigned_memoffheap
public void unset_assigned_memoffheap()
-
is_set_assigned_memoffheap
public boolean is_set_assigned_memoffheap()
Returns true if field assigned_memoffheap is set (has been assigned a value) and false otherwise
-
set_assigned_memoffheap_isSet
public void set_assigned_memoffheap_isSet(boolean value)
-
get_assigned_cpu
public double get_assigned_cpu()
-
set_assigned_cpu
public void set_assigned_cpu(double assigned_cpu)
-
unset_assigned_cpu
public void unset_assigned_cpu()
-
is_set_assigned_cpu
public boolean is_set_assigned_cpu()
Returns true if field assigned_cpu is set (has been assigned a value) and false otherwise
-
set_assigned_cpu_isSet
public void set_assigned_cpu_isSet(boolean value)
-
setFieldValue
public void setFieldValue(TopologyInfo._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>
-
getFieldValue
public Object getFieldValue(TopologyInfo._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._Fields>
-
isSet
public boolean isSet(TopologyInfo._Fields field)
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<TopologyInfo,TopologyInfo._Fields>
-
equals
public boolean equals(TopologyInfo that)
-
compareTo
public int compareTo(TopologyInfo other)
- Specified by:
compareToin interfaceComparable<TopologyInfo>
-
fieldForId
public TopologyInfo._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<TopologyInfo,TopologyInfo._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
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-
-