Package org.apache.storm.generated
Class WorkerSummary
java.lang.Object
org.apache.storm.generated.WorkerSummary
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<WorkerSummary>,- org.apache.storm.thrift.TBase<WorkerSummary,,- WorkerSummary._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class WorkerSummary
extends Object
implements org.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._Fields>, Serializable, Cloneable, Comparable<WorkerSummary> 
- 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<WorkerSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(WorkerSummary other) deepCopy()booleanbooleanequals(WorkerSummary that) fieldForId(int fieldId) doubledoubledoubleintget_host()intintget_port()doubledoubledoubleintintinthashCode()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_to_num_tasks is set (has been assigned a value) and false otherwisebooleanReturns true if field host is set (has been assigned a value) and false otherwisebooleanReturns true if field num_executors 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 port 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 supervisor_id is set (has been assigned a value) and false otherwisebooleanReturns true if field time_secs is set (has been assigned a value) and false otherwisebooleanReturns true if field topology_id is set (has been assigned a value) and false otherwisebooleanReturns true if field topology_name 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(WorkerSummary._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_component_to_num_tasks(String key, long 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_to_num_tasks(Map<String, Long> component_to_num_tasks) voidset_component_to_num_tasks_isSet(boolean value) voidvoidset_host_isSet(boolean value) voidset_num_executors(int num_executors) voidset_num_executors_isSet(boolean value) voidvoidset_owner_isSet(boolean value) voidset_port(int port) voidset_port_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_supervisor_id(String supervisor_id) voidset_supervisor_id_isSet(boolean value) voidset_time_secs(int time_secs) voidset_time_secs_isSet(boolean value) voidset_topology_id(String topology_id) voidset_topology_id_isSet(boolean value) voidset_topology_name(String topology_name) voidset_topology_name_isSet(boolean value) voidset_uptime_secs(int uptime_secs) voidset_uptime_secs_isSet(boolean value) voidsetFieldValue(WorkerSummary._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<WorkerSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
WorkerSummarypublic WorkerSummary()
- 
WorkerSummaryPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<WorkerSummary,- WorkerSummary._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<WorkerSummary,- WorkerSummary._Fields> 
 
- 
get_supervisor_id
- 
set_supervisor_id
- 
unset_supervisor_idpublic void unset_supervisor_id()
- 
is_set_supervisor_idpublic boolean is_set_supervisor_id()Returns true if field supervisor_id is set (has been assigned a value) and false otherwise
- 
set_supervisor_id_isSetpublic void set_supervisor_id_isSet(boolean value) 
- 
get_host
- 
set_host
- 
unset_hostpublic void unset_host()
- 
is_set_hostpublic boolean is_set_host()Returns true if field host is set (has been assigned a value) and false otherwise
- 
set_host_isSetpublic void set_host_isSet(boolean value) 
- 
get_portpublic int get_port()
- 
set_portpublic void set_port(int port) 
- 
unset_portpublic void unset_port()
- 
is_set_portpublic boolean is_set_port()Returns true if field port is set (has been assigned a value) and false otherwise
- 
set_port_isSetpublic void set_port_isSet(boolean value) 
- 
get_topology_id
- 
set_topology_id
- 
unset_topology_idpublic void unset_topology_id()
- 
is_set_topology_idpublic boolean is_set_topology_id()Returns true if field topology_id is set (has been assigned a value) and false otherwise
- 
set_topology_id_isSetpublic void set_topology_id_isSet(boolean value) 
- 
get_topology_name
- 
set_topology_name
- 
unset_topology_namepublic void unset_topology_name()
- 
is_set_topology_namepublic boolean is_set_topology_name()Returns true if field topology_name is set (has been assigned a value) and false otherwise
- 
set_topology_name_isSetpublic void set_topology_name_isSet(boolean value) 
- 
get_num_executorspublic int get_num_executors()
- 
set_num_executorspublic void set_num_executors(int num_executors) 
- 
unset_num_executorspublic void unset_num_executors()
- 
is_set_num_executorspublic boolean is_set_num_executors()Returns true if field num_executors is set (has been assigned a value) and false otherwise
- 
set_num_executors_isSetpublic void set_num_executors_isSet(boolean value) 
- 
get_component_to_num_tasks_sizepublic int get_component_to_num_tasks_size()
- 
put_to_component_to_num_tasks
- 
get_component_to_num_tasks
- 
set_component_to_num_tasks
- 
unset_component_to_num_taskspublic void unset_component_to_num_tasks()
- 
is_set_component_to_num_taskspublic boolean is_set_component_to_num_tasks()Returns true if field component_to_num_tasks is set (has been assigned a value) and false otherwise
- 
set_component_to_num_tasks_isSetpublic void set_component_to_num_tasks_isSet(boolean value) 
- 
get_time_secspublic int get_time_secs()
- 
set_time_secspublic void set_time_secs(int time_secs) 
- 
unset_time_secspublic void unset_time_secs()
- 
is_set_time_secspublic boolean is_set_time_secs()Returns true if field time_secs is set (has been assigned a value) and false otherwise
- 
set_time_secs_isSetpublic void set_time_secs_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_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) 
- 
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) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<WorkerSummary,- WorkerSummary._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<WorkerSummary,- WorkerSummary._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<WorkerSummary,- WorkerSummary._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<WorkerSummary>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<WorkerSummary,- WorkerSummary._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
 
 
-