Package org.apache.storm.generated
Class SupervisorSummary
java.lang.Object
org.apache.storm.generated.SupervisorSummary
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<SupervisorSummary>,- org.apache.storm.thrift.TBase<SupervisorSummary,,- SupervisorSummary._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class SupervisorSummary
extends Object
implements org.apache.storm.thrift.TBase<SupervisorSummary,SupervisorSummary._Fields>, Serializable, Cloneable, Comparable<SupervisorSummary> 
- 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<SupervisorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionSupervisorSummary(String host, int uptime_secs, int num_workers, int num_used_workers, String supervisor_id) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(SupervisorSummary other) deepCopy()booleanbooleanequals(SupervisorSummary that) fieldForId(int fieldId) doubledoubleget_host()intintintintdoubleintdoubleinthashCode()booleanbooleanReturns true if field blacklisted is set (has been assigned a value) and false otherwisebooleanReturns true if field fragmented_cpu is set (has been assigned a value) and false otherwisebooleanReturns true if field fragmented_mem 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_used_workers is set (has been assigned a value) and false otherwisebooleanReturns true if field num_workers 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 total_resources is set (has been assigned a value) and false otherwisebooleanReturns true if field uptime_secs is set (has been assigned a value) and false otherwisebooleanReturns true if field used_cpu is set (has been assigned a value) and false otherwisebooleanReturns true if field used_generic_resources is set (has been assigned a value) and false otherwisebooleanReturns true if field used_mem is set (has been assigned a value) and false otherwisebooleanReturns true if field version is set (has been assigned a value) and false otherwisebooleanisSet(SupervisorSummary._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidput_to_total_resources(String key, double val) voidput_to_used_generic_resources(String key, double val) voidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_blacklisted(boolean blacklisted) voidset_blacklisted_isSet(boolean value) voidset_fragmented_cpu(double fragmented_cpu) voidset_fragmented_cpu_isSet(boolean value) voidset_fragmented_mem(double fragmented_mem) voidset_fragmented_mem_isSet(boolean value) voidvoidset_host_isSet(boolean value) voidset_num_used_workers(int num_used_workers) voidset_num_used_workers_isSet(boolean value) voidset_num_workers(int num_workers) voidset_num_workers_isSet(boolean value) voidset_supervisor_id(String supervisor_id) voidset_supervisor_id_isSet(boolean value) voidset_total_resources(Map<String, Double> total_resources) voidset_total_resources_isSet(boolean value) voidset_uptime_secs(int uptime_secs) voidset_uptime_secs_isSet(boolean value) voidset_used_cpu(double used_cpu) voidset_used_cpu_isSet(boolean value) voidset_used_generic_resources(Map<String, Double> used_generic_resources) voidset_used_generic_resources_isSet(boolean value) voidset_used_mem(double used_mem) voidset_used_mem_isSet(boolean value) voidset_version(String version) voidset_version_isSet(boolean value) voidsetFieldValue(SupervisorSummary._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<SupervisorSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
SupervisorSummarypublic SupervisorSummary()
- 
SupervisorSummary
- 
SupervisorSummaryPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<SupervisorSummary,- SupervisorSummary._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<SupervisorSummary,- SupervisorSummary._Fields> 
 
- 
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_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_num_workerspublic int get_num_workers()
- 
set_num_workerspublic void set_num_workers(int num_workers) 
- 
unset_num_workerspublic void unset_num_workers()
- 
is_set_num_workerspublic boolean is_set_num_workers()Returns true if field num_workers is set (has been assigned a value) and false otherwise
- 
set_num_workers_isSetpublic void set_num_workers_isSet(boolean value) 
- 
get_num_used_workerspublic int get_num_used_workers()
- 
set_num_used_workerspublic void set_num_used_workers(int num_used_workers) 
- 
unset_num_used_workerspublic void unset_num_used_workers()
- 
is_set_num_used_workerspublic boolean is_set_num_used_workers()Returns true if field num_used_workers is set (has been assigned a value) and false otherwise
- 
set_num_used_workers_isSetpublic void set_num_used_workers_isSet(boolean value) 
- 
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_version
- 
set_version
- 
unset_versionpublic void unset_version()
- 
is_set_versionpublic boolean is_set_version()Returns true if field version is set (has been assigned a value) and false otherwise
- 
set_version_isSetpublic void set_version_isSet(boolean value) 
- 
get_total_resources_sizepublic int get_total_resources_size()
- 
put_to_total_resources
- 
get_total_resources
- 
set_total_resources
- 
unset_total_resourcespublic void unset_total_resources()
- 
is_set_total_resourcespublic boolean is_set_total_resources()Returns true if field total_resources is set (has been assigned a value) and false otherwise
- 
set_total_resources_isSetpublic void set_total_resources_isSet(boolean value) 
- 
get_used_mempublic double get_used_mem()
- 
set_used_mempublic void set_used_mem(double used_mem) 
- 
unset_used_mempublic void unset_used_mem()
- 
is_set_used_mempublic boolean is_set_used_mem()Returns true if field used_mem is set (has been assigned a value) and false otherwise
- 
set_used_mem_isSetpublic void set_used_mem_isSet(boolean value) 
- 
get_used_cpupublic double get_used_cpu()
- 
set_used_cpupublic void set_used_cpu(double used_cpu) 
- 
unset_used_cpupublic void unset_used_cpu()
- 
is_set_used_cpupublic boolean is_set_used_cpu()Returns true if field used_cpu is set (has been assigned a value) and false otherwise
- 
set_used_cpu_isSetpublic void set_used_cpu_isSet(boolean value) 
- 
get_fragmented_mempublic double get_fragmented_mem()
- 
set_fragmented_mempublic void set_fragmented_mem(double fragmented_mem) 
- 
unset_fragmented_mempublic void unset_fragmented_mem()
- 
is_set_fragmented_mempublic boolean is_set_fragmented_mem()Returns true if field fragmented_mem is set (has been assigned a value) and false otherwise
- 
set_fragmented_mem_isSetpublic void set_fragmented_mem_isSet(boolean value) 
- 
get_fragmented_cpupublic double get_fragmented_cpu()
- 
set_fragmented_cpupublic void set_fragmented_cpu(double fragmented_cpu) 
- 
unset_fragmented_cpupublic void unset_fragmented_cpu()
- 
is_set_fragmented_cpupublic boolean is_set_fragmented_cpu()Returns true if field fragmented_cpu is set (has been assigned a value) and false otherwise
- 
set_fragmented_cpu_isSetpublic void set_fragmented_cpu_isSet(boolean value) 
- 
is_blacklistedpublic boolean is_blacklisted()
- 
set_blacklistedpublic void set_blacklisted(boolean blacklisted) 
- 
unset_blacklistedpublic void unset_blacklisted()
- 
is_set_blacklistedpublic boolean is_set_blacklisted()Returns true if field blacklisted is set (has been assigned a value) and false otherwise
- 
set_blacklisted_isSetpublic void set_blacklisted_isSet(boolean value) 
- 
get_used_generic_resources_sizepublic int get_used_generic_resources_size()
- 
put_to_used_generic_resources
- 
get_used_generic_resources
- 
set_used_generic_resources
- 
unset_used_generic_resourcespublic void unset_used_generic_resources()
- 
is_set_used_generic_resourcespublic boolean is_set_used_generic_resources()Returns true if field used_generic_resources is set (has been assigned a value) and false otherwise
- 
set_used_generic_resources_isSetpublic void set_used_generic_resources_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<SupervisorSummary,- SupervisorSummary._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<SupervisorSummary,- SupervisorSummary._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<SupervisorSummary,- SupervisorSummary._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<SupervisorSummary>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<SupervisorSummary,- SupervisorSummary._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
 
 
-