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:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic enumThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Map<TopologyInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionTopologyInfo(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 SummaryModifier and TypeMethodDescriptionvoidvoidclear()intcompareTo(TopologyInfo other) deepCopy()booleanbooleanequals(TopologyInfo that) fieldForId(int fieldId) doubledoubledoubleintintintget_id()get_name()intdoubledoubledoubleintinthashCode()booleanReturns true if field assigned_cpu is set (has been assigned a value) and false otherwisebooleanReturns true if field assigned_memoffheap is set (has been assigned a value) and false otherwisebooleanReturns true if field assigned_memonheap is set (has been assigned a value) and false otherwisebooleanReturns true if field component_debug is set (has been assigned a value) and false otherwisebooleanReturns true if field errors is set (has been assigned a value) and false otherwisebooleanReturns true if field executors is set (has been assigned a value) and false otherwisebooleanReturns true if field id is set (has been assigned a value) and false otherwisebooleanReturns true if field name is set (has been assigned a value) and false otherwisebooleanReturns true if field owner is set (has been assigned a value) and false otherwisebooleanReturns true if field replication_count is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_cpu is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_memoffheap is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_memonheap is set (has been assigned a value) and false otherwisebooleanReturns true if field sched_status is set (has been assigned a value) and false otherwisebooleanReturns true if field status is set (has been assigned a value) and false otherwisebooleanReturns true if field storm_version is set (has been assigned a value) and false otherwisebooleanReturns 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) voidvoidset_id_isSet(boolean value) voidvoidset_name_isSet(boolean value) voidvoidset_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) toString()voidvoidvoidvoidvoidvoidvoidunset_id()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<TopologyInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
TopologyInfopublic TopologyInfo()
- 
TopologyInfo
- 
TopologyInfoPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
get_id
- 
set_id
- 
unset_idpublic void unset_id()
- 
is_set_idpublic boolean is_set_id()Returns true if field id is set (has been assigned a value) and false otherwise
- 
set_id_isSetpublic void set_id_isSet(boolean value) 
- 
get_name
- 
set_name
- 
unset_namepublic void unset_name()
- 
is_set_namepublic boolean is_set_name()Returns true if field name is set (has been assigned a value) and false otherwise
- 
set_name_isSetpublic void set_name_isSet(boolean value) 
- 
get_uptime_secspublic int get_uptime_secs()
- 
set_uptime_secspublic void set_uptime_secs(int uptime_secs) 
- 
unset_uptime_secspublic void unset_uptime_secs()
- 
is_set_uptime_secspublic boolean is_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwise
- 
set_uptime_secs_isSetpublic void set_uptime_secs_isSet(boolean value) 
- 
get_executors_sizepublic int get_executors_size()
- 
get_executors_iterator
- 
add_to_executors
- 
get_executors
- 
set_executors
- 
unset_executorspublic void unset_executors()
- 
is_set_executorspublic boolean is_set_executors()Returns true if field executors is set (has been assigned a value) and false otherwise
- 
set_executors_isSetpublic void set_executors_isSet(boolean value) 
- 
get_status
- 
set_status
- 
unset_statuspublic void unset_status()
- 
is_set_statuspublic boolean is_set_status()Returns true if field status is set (has been assigned a value) and false otherwise
- 
set_status_isSetpublic void set_status_isSet(boolean value) 
- 
get_errors_sizepublic int get_errors_size()
- 
put_to_errors
- 
get_errors
- 
set_errors
- 
unset_errorspublic void unset_errors()
- 
is_set_errorspublic boolean is_set_errors()Returns true if field errors is set (has been assigned a value) and false otherwise
- 
set_errors_isSetpublic void set_errors_isSet(boolean value) 
- 
get_component_debug_sizepublic int get_component_debug_size()
- 
put_to_component_debug
- 
get_component_debug
- 
set_component_debug
- 
unset_component_debugpublic void unset_component_debug()
- 
is_set_component_debugpublic boolean is_set_component_debug()Returns true if field component_debug is set (has been assigned a value) and false otherwise
- 
set_component_debug_isSetpublic void set_component_debug_isSet(boolean value) 
- 
get_storm_version
- 
set_storm_version
- 
unset_storm_versionpublic void unset_storm_version()
- 
is_set_storm_versionpublic boolean is_set_storm_version()Returns true if field storm_version is set (has been assigned a value) and false otherwise
- 
set_storm_version_isSetpublic void set_storm_version_isSet(boolean value) 
- 
get_sched_status
- 
set_sched_status
- 
unset_sched_statuspublic void unset_sched_status()
- 
is_set_sched_statuspublic boolean is_set_sched_status()Returns true if field sched_status is set (has been assigned a value) and false otherwise
- 
set_sched_status_isSetpublic void set_sched_status_isSet(boolean value) 
- 
get_owner
- 
set_owner
- 
unset_ownerpublic void unset_owner()
- 
is_set_ownerpublic boolean is_set_owner()Returns true if field owner is set (has been assigned a value) and false otherwise
- 
set_owner_isSetpublic void set_owner_isSet(boolean value) 
- 
get_replication_countpublic int get_replication_count()
- 
set_replication_countpublic void set_replication_count(int replication_count) 
- 
unset_replication_countpublic void unset_replication_count()
- 
is_set_replication_countpublic boolean is_set_replication_count()Returns true if field replication_count is set (has been assigned a value) and false otherwise
- 
set_replication_count_isSetpublic void set_replication_count_isSet(boolean value) 
- 
get_requested_memonheappublic double get_requested_memonheap()
- 
set_requested_memonheappublic void set_requested_memonheap(double requested_memonheap) 
- 
unset_requested_memonheappublic void unset_requested_memonheap()
- 
is_set_requested_memonheappublic boolean is_set_requested_memonheap()Returns true if field requested_memonheap is set (has been assigned a value) and false otherwise
- 
set_requested_memonheap_isSetpublic void set_requested_memonheap_isSet(boolean value) 
- 
get_requested_memoffheappublic double get_requested_memoffheap()
- 
set_requested_memoffheappublic void set_requested_memoffheap(double requested_memoffheap) 
- 
unset_requested_memoffheappublic void unset_requested_memoffheap()
- 
is_set_requested_memoffheappublic boolean is_set_requested_memoffheap()Returns true if field requested_memoffheap is set (has been assigned a value) and false otherwise
- 
set_requested_memoffheap_isSetpublic void set_requested_memoffheap_isSet(boolean value) 
- 
get_requested_cpupublic double get_requested_cpu()
- 
set_requested_cpupublic void set_requested_cpu(double requested_cpu) 
- 
unset_requested_cpupublic void unset_requested_cpu()
- 
is_set_requested_cpupublic boolean is_set_requested_cpu()Returns true if field requested_cpu is set (has been assigned a value) and false otherwise
- 
set_requested_cpu_isSetpublic void set_requested_cpu_isSet(boolean value) 
- 
get_assigned_memonheappublic double get_assigned_memonheap()
- 
set_assigned_memonheappublic void set_assigned_memonheap(double assigned_memonheap) 
- 
unset_assigned_memonheappublic void unset_assigned_memonheap()
- 
is_set_assigned_memonheappublic boolean is_set_assigned_memonheap()Returns true if field assigned_memonheap is set (has been assigned a value) and false otherwise
- 
set_assigned_memonheap_isSetpublic void set_assigned_memonheap_isSet(boolean value) 
- 
get_assigned_memoffheappublic double get_assigned_memoffheap()
- 
set_assigned_memoffheappublic void set_assigned_memoffheap(double assigned_memoffheap) 
- 
unset_assigned_memoffheappublic void unset_assigned_memoffheap()
- 
is_set_assigned_memoffheappublic boolean is_set_assigned_memoffheap()Returns true if field assigned_memoffheap is set (has been assigned a value) and false otherwise
- 
set_assigned_memoffheap_isSetpublic void set_assigned_memoffheap_isSet(boolean value) 
- 
get_assigned_cpupublic double get_assigned_cpu()
- 
set_assigned_cpupublic void set_assigned_cpu(double assigned_cpu) 
- 
unset_assigned_cpupublic void unset_assigned_cpu()
- 
is_set_assigned_cpupublic boolean is_set_assigned_cpu()Returns true if field assigned_cpu is set (has been assigned a value) and false otherwise
- 
set_assigned_cpu_isSetpublic void set_assigned_cpu_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
isSetReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
- isSetin interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<TopologyInfo>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<TopologyInfo,- TopologyInfo._Fields> 
 
- 
readpublic void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException - Specified by:
- readin interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
writepublic void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException - Specified by:
- writein interface- org.apache.storm.thrift.TSerializable
- Throws:
- org.apache.storm.thrift.TException
 
- 
toString
- 
validatepublic void validate() throws org.apache.storm.thrift.TException- Throws:
- org.apache.storm.thrift.TException
 
 
-