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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkerSummary._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<WorkerSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description WorkerSummary()WorkerSummary(WorkerSummary other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(WorkerSummary other)WorkerSummarydeepCopy()booleanequals(Object that)booleanequals(WorkerSummary that)WorkerSummary._FieldsfieldForId(int fieldId)doubleget_assigned_cpu()doubleget_assigned_memoffheap()doubleget_assigned_memonheap()Map<String,Long>get_component_to_num_tasks()intget_component_to_num_tasks_size()Stringget_host()intget_num_executors()Stringget_owner()intget_port()doubleget_requested_cpu()doubleget_requested_memoffheap()doubleget_requested_memonheap()Stringget_supervisor_id()intget_time_secs()Stringget_topology_id()Stringget_topology_name()intget_uptime_secs()ObjectgetFieldValue(WorkerSummary._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_to_num_tasks()Returns true if field component_to_num_tasks is set (has been assigned a value) and false otherwisebooleanis_set_host()Returns true if field host is set (has been assigned a value) and false otherwisebooleanis_set_num_executors()Returns true if field num_executors 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_port()Returns true if field port 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_supervisor_id()Returns true if field supervisor_id is set (has been assigned a value) and false otherwisebooleanis_set_time_secs()Returns true if field time_secs is set (has been assigned a value) and false otherwisebooleanis_set_topology_id()Returns true if field topology_id is set (has been assigned a value) and false otherwisebooleanis_set_topology_name()Returns true if field topology_name 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(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)voidset_host(String host)voidset_host_isSet(boolean value)voidset_num_executors(int num_executors)voidset_num_executors_isSet(boolean value)voidset_owner(String owner)voidset_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)StringtoString()voidunset_assigned_cpu()voidunset_assigned_memoffheap()voidunset_assigned_memonheap()voidunset_component_to_num_tasks()voidunset_host()voidunset_num_executors()voidunset_owner()voidunset_port()voidunset_requested_cpu()voidunset_requested_memoffheap()voidunset_requested_memonheap()voidunset_supervisor_id()voidunset_time_secs()voidunset_topology_id()voidunset_topology_name()voidunset_uptime_secs()voidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
metaDataMap
public static final Map<WorkerSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
WorkerSummary
public WorkerSummary()
-
WorkerSummary
public WorkerSummary(WorkerSummary other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public WorkerSummary deepCopy()
- Specified by:
deepCopyin interfaceorg.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._Fields>
-
get_supervisor_id
public String get_supervisor_id()
-
set_supervisor_id
public void set_supervisor_id(String supervisor_id)
-
unset_supervisor_id
public void unset_supervisor_id()
-
is_set_supervisor_id
public boolean is_set_supervisor_id()
Returns true if field supervisor_id is set (has been assigned a value) and false otherwise
-
set_supervisor_id_isSet
public void set_supervisor_id_isSet(boolean value)
-
get_host
public String get_host()
-
set_host
public void set_host(String host)
-
unset_host
public void unset_host()
-
is_set_host
public boolean is_set_host()
Returns true if field host is set (has been assigned a value) and false otherwise
-
set_host_isSet
public void set_host_isSet(boolean value)
-
get_port
public int get_port()
-
set_port
public void set_port(int port)
-
unset_port
public void unset_port()
-
is_set_port
public boolean is_set_port()
Returns true if field port is set (has been assigned a value) and false otherwise
-
set_port_isSet
public void set_port_isSet(boolean value)
-
get_topology_id
public String get_topology_id()
-
set_topology_id
public void set_topology_id(String topology_id)
-
unset_topology_id
public void unset_topology_id()
-
is_set_topology_id
public boolean is_set_topology_id()
Returns true if field topology_id is set (has been assigned a value) and false otherwise
-
set_topology_id_isSet
public void set_topology_id_isSet(boolean value)
-
get_topology_name
public String get_topology_name()
-
set_topology_name
public void set_topology_name(String topology_name)
-
unset_topology_name
public void unset_topology_name()
-
is_set_topology_name
public boolean is_set_topology_name()
Returns true if field topology_name is set (has been assigned a value) and false otherwise
-
set_topology_name_isSet
public void set_topology_name_isSet(boolean value)
-
get_num_executors
public int get_num_executors()
-
set_num_executors
public void set_num_executors(int num_executors)
-
unset_num_executors
public void unset_num_executors()
-
is_set_num_executors
public boolean is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
-
set_num_executors_isSet
public void set_num_executors_isSet(boolean value)
-
get_component_to_num_tasks_size
public int get_component_to_num_tasks_size()
-
put_to_component_to_num_tasks
public void put_to_component_to_num_tasks(String key, long val)
-
set_component_to_num_tasks
public void set_component_to_num_tasks(Map<String,Long> component_to_num_tasks)
-
unset_component_to_num_tasks
public void unset_component_to_num_tasks()
-
is_set_component_to_num_tasks
public 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_isSet
public void set_component_to_num_tasks_isSet(boolean value)
-
get_time_secs
public int get_time_secs()
-
set_time_secs
public void set_time_secs(int time_secs)
-
unset_time_secs
public void unset_time_secs()
-
is_set_time_secs
public boolean is_set_time_secs()
Returns true if field time_secs is set (has been assigned a value) and false otherwise
-
set_time_secs_isSet
public void set_time_secs_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_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)
-
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)
-
setFieldValue
public void setFieldValue(WorkerSummary._Fields field, Object value)
- Specified by:
setFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._Fields>
-
getFieldValue
public Object getFieldValue(WorkerSummary._Fields field)
- Specified by:
getFieldValuein interfaceorg.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._Fields>
-
isSet
public boolean isSet(WorkerSummary._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<WorkerSummary,WorkerSummary._Fields>
-
equals
public boolean equals(WorkerSummary that)
-
compareTo
public int compareTo(WorkerSummary other)
- Specified by:
compareToin interfaceComparable<WorkerSummary>
-
fieldForId
public WorkerSummary._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.storm.thrift.TBase<WorkerSummary,WorkerSummary._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
-
-