Package org.apache.storm.generated
Class OwnerResourceSummary
java.lang.Object
org.apache.storm.generated.OwnerResourceSummary
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<OwnerResourceSummary>,- org.apache.storm.thrift.TBase<OwnerResourceSummary,,- OwnerResourceSummary._Fields> - org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class OwnerResourceSummary
extends Object
implements org.apache.storm.thrift.TBase<OwnerResourceSummary,OwnerResourceSummary._Fields>, Serializable, Cloneable, Comparable<OwnerResourceSummary> 
- 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<OwnerResourceSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclear()intcompareTo(OwnerResourceSummary other) deepCopy()booleanbooleanequals(OwnerResourceSummary that) fieldForId(int fieldId) doubledoubledoubledoubledoubleintdoubledoubledoubledoubledoubledoubledoubleintintintintinthashCode()booleanReturns true if field assigned_off_heap_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field assigned_on_heap_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field cpu_guarantee is set (has been assigned a value) and false otherwisebooleanReturns true if field cpu_guarantee_remaining is set (has been assigned a value) and false otherwisebooleanReturns true if field cpu_usage is set (has been assigned a value) and false otherwisebooleanReturns true if field isolated_node_guarantee is set (has been assigned a value) and false otherwisebooleanReturns true if field memory_guarantee is set (has been assigned a value) and false otherwisebooleanReturns true if field memory_guarantee_remaining is set (has been assigned a value) and false otherwisebooleanReturns true if field memory_usage 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 requested_cpu is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_off_heap_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_on_heap_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field requested_total_memory is set (has been assigned a value) and false otherwisebooleanReturns true if field total_executors is set (has been assigned a value) and false otherwisebooleanReturns true if field total_tasks is set (has been assigned a value) and false otherwisebooleanReturns true if field total_topologies is set (has been assigned a value) and false otherwisebooleanReturns true if field total_workers is set (has been assigned a value) and false otherwisebooleanReturns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_assigned_off_heap_memory(double assigned_off_heap_memory) voidset_assigned_off_heap_memory_isSet(boolean value) voidset_assigned_on_heap_memory(double assigned_on_heap_memory) voidset_assigned_on_heap_memory_isSet(boolean value) voidset_cpu_guarantee(double cpu_guarantee) voidset_cpu_guarantee_isSet(boolean value) voidset_cpu_guarantee_remaining(double cpu_guarantee_remaining) voidset_cpu_guarantee_remaining_isSet(boolean value) voidset_cpu_usage(double cpu_usage) voidset_cpu_usage_isSet(boolean value) voidset_isolated_node_guarantee(int isolated_node_guarantee) voidset_isolated_node_guarantee_isSet(boolean value) voidset_memory_guarantee(double memory_guarantee) voidset_memory_guarantee_isSet(boolean value) voidset_memory_guarantee_remaining(double memory_guarantee_remaining) voidset_memory_guarantee_remaining_isSet(boolean value) voidset_memory_usage(double memory_usage) voidset_memory_usage_isSet(boolean value) voidvoidset_owner_isSet(boolean value) voidset_requested_cpu(double requested_cpu) voidset_requested_cpu_isSet(boolean value) voidset_requested_off_heap_memory(double requested_off_heap_memory) voidset_requested_off_heap_memory_isSet(boolean value) voidset_requested_on_heap_memory(double requested_on_heap_memory) voidset_requested_on_heap_memory_isSet(boolean value) voidset_requested_total_memory(double requested_total_memory) voidset_requested_total_memory_isSet(boolean value) voidset_total_executors(int total_executors) voidset_total_executors_isSet(boolean value) voidset_total_tasks(int total_tasks) voidset_total_tasks_isSet(boolean value) voidset_total_topologies(int total_topologies) voidset_total_topologies_isSet(boolean value) voidset_total_workers(int total_workers) voidset_total_workers_isSet(boolean value) voidsetFieldValue(OwnerResourceSummary._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<OwnerResourceSummary._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
OwnerResourceSummarypublic OwnerResourceSummary()
- 
OwnerResourceSummary
- 
OwnerResourceSummaryPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<OwnerResourceSummary,- OwnerResourceSummary._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<OwnerResourceSummary,- OwnerResourceSummary._Fields> 
 
- 
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_total_topologiespublic int get_total_topologies()
- 
set_total_topologiespublic void set_total_topologies(int total_topologies) 
- 
unset_total_topologiespublic void unset_total_topologies()
- 
is_set_total_topologiespublic boolean is_set_total_topologies()Returns true if field total_topologies is set (has been assigned a value) and false otherwise
- 
set_total_topologies_isSetpublic void set_total_topologies_isSet(boolean value) 
- 
get_total_executorspublic int get_total_executors()
- 
set_total_executorspublic void set_total_executors(int total_executors) 
- 
unset_total_executorspublic void unset_total_executors()
- 
is_set_total_executorspublic boolean is_set_total_executors()Returns true if field total_executors is set (has been assigned a value) and false otherwise
- 
set_total_executors_isSetpublic void set_total_executors_isSet(boolean value) 
- 
get_total_workerspublic int get_total_workers()
- 
set_total_workerspublic void set_total_workers(int total_workers) 
- 
unset_total_workerspublic void unset_total_workers()
- 
is_set_total_workerspublic boolean is_set_total_workers()Returns true if field total_workers is set (has been assigned a value) and false otherwise
- 
set_total_workers_isSetpublic void set_total_workers_isSet(boolean value) 
- 
get_memory_usagepublic double get_memory_usage()
- 
set_memory_usagepublic void set_memory_usage(double memory_usage) 
- 
unset_memory_usagepublic void unset_memory_usage()
- 
is_set_memory_usagepublic boolean is_set_memory_usage()Returns true if field memory_usage is set (has been assigned a value) and false otherwise
- 
set_memory_usage_isSetpublic void set_memory_usage_isSet(boolean value) 
- 
get_cpu_usagepublic double get_cpu_usage()
- 
set_cpu_usagepublic void set_cpu_usage(double cpu_usage) 
- 
unset_cpu_usagepublic void unset_cpu_usage()
- 
is_set_cpu_usagepublic boolean is_set_cpu_usage()Returns true if field cpu_usage is set (has been assigned a value) and false otherwise
- 
set_cpu_usage_isSetpublic void set_cpu_usage_isSet(boolean value) 
- 
get_memory_guaranteepublic double get_memory_guarantee()
- 
set_memory_guaranteepublic void set_memory_guarantee(double memory_guarantee) 
- 
unset_memory_guaranteepublic void unset_memory_guarantee()
- 
is_set_memory_guaranteepublic boolean is_set_memory_guarantee()Returns true if field memory_guarantee is set (has been assigned a value) and false otherwise
- 
set_memory_guarantee_isSetpublic void set_memory_guarantee_isSet(boolean value) 
- 
get_cpu_guaranteepublic double get_cpu_guarantee()
- 
set_cpu_guaranteepublic void set_cpu_guarantee(double cpu_guarantee) 
- 
unset_cpu_guaranteepublic void unset_cpu_guarantee()
- 
is_set_cpu_guaranteepublic boolean is_set_cpu_guarantee()Returns true if field cpu_guarantee is set (has been assigned a value) and false otherwise
- 
set_cpu_guarantee_isSetpublic void set_cpu_guarantee_isSet(boolean value) 
- 
get_memory_guarantee_remainingpublic double get_memory_guarantee_remaining()
- 
set_memory_guarantee_remainingpublic void set_memory_guarantee_remaining(double memory_guarantee_remaining) 
- 
unset_memory_guarantee_remainingpublic void unset_memory_guarantee_remaining()
- 
is_set_memory_guarantee_remainingpublic boolean is_set_memory_guarantee_remaining()Returns true if field memory_guarantee_remaining is set (has been assigned a value) and false otherwise
- 
set_memory_guarantee_remaining_isSetpublic void set_memory_guarantee_remaining_isSet(boolean value) 
- 
get_cpu_guarantee_remainingpublic double get_cpu_guarantee_remaining()
- 
set_cpu_guarantee_remainingpublic void set_cpu_guarantee_remaining(double cpu_guarantee_remaining) 
- 
unset_cpu_guarantee_remainingpublic void unset_cpu_guarantee_remaining()
- 
is_set_cpu_guarantee_remainingpublic boolean is_set_cpu_guarantee_remaining()Returns true if field cpu_guarantee_remaining is set (has been assigned a value) and false otherwise
- 
set_cpu_guarantee_remaining_isSetpublic void set_cpu_guarantee_remaining_isSet(boolean value) 
- 
get_isolated_node_guaranteepublic int get_isolated_node_guarantee()
- 
set_isolated_node_guaranteepublic void set_isolated_node_guarantee(int isolated_node_guarantee) 
- 
unset_isolated_node_guaranteepublic void unset_isolated_node_guarantee()
- 
is_set_isolated_node_guaranteepublic boolean is_set_isolated_node_guarantee()Returns true if field isolated_node_guarantee is set (has been assigned a value) and false otherwise
- 
set_isolated_node_guarantee_isSetpublic void set_isolated_node_guarantee_isSet(boolean value) 
- 
get_total_taskspublic int get_total_tasks()
- 
set_total_taskspublic void set_total_tasks(int total_tasks) 
- 
unset_total_taskspublic void unset_total_tasks()
- 
is_set_total_taskspublic boolean is_set_total_tasks()Returns true if field total_tasks is set (has been assigned a value) and false otherwise
- 
set_total_tasks_isSetpublic void set_total_tasks_isSet(boolean value) 
- 
get_requested_on_heap_memorypublic double get_requested_on_heap_memory()
- 
set_requested_on_heap_memorypublic void set_requested_on_heap_memory(double requested_on_heap_memory) 
- 
unset_requested_on_heap_memorypublic void unset_requested_on_heap_memory()
- 
is_set_requested_on_heap_memorypublic boolean is_set_requested_on_heap_memory()Returns true if field requested_on_heap_memory is set (has been assigned a value) and false otherwise
- 
set_requested_on_heap_memory_isSetpublic void set_requested_on_heap_memory_isSet(boolean value) 
- 
get_requested_off_heap_memorypublic double get_requested_off_heap_memory()
- 
set_requested_off_heap_memorypublic void set_requested_off_heap_memory(double requested_off_heap_memory) 
- 
unset_requested_off_heap_memorypublic void unset_requested_off_heap_memory()
- 
is_set_requested_off_heap_memorypublic boolean is_set_requested_off_heap_memory()Returns true if field requested_off_heap_memory is set (has been assigned a value) and false otherwise
- 
set_requested_off_heap_memory_isSetpublic void set_requested_off_heap_memory_isSet(boolean value) 
- 
get_requested_total_memorypublic double get_requested_total_memory()
- 
set_requested_total_memorypublic void set_requested_total_memory(double requested_total_memory) 
- 
unset_requested_total_memorypublic void unset_requested_total_memory()
- 
is_set_requested_total_memorypublic boolean is_set_requested_total_memory()Returns true if field requested_total_memory is set (has been assigned a value) and false otherwise
- 
set_requested_total_memory_isSetpublic void set_requested_total_memory_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_on_heap_memorypublic double get_assigned_on_heap_memory()
- 
set_assigned_on_heap_memorypublic void set_assigned_on_heap_memory(double assigned_on_heap_memory) 
- 
unset_assigned_on_heap_memorypublic void unset_assigned_on_heap_memory()
- 
is_set_assigned_on_heap_memorypublic boolean is_set_assigned_on_heap_memory()Returns true if field assigned_on_heap_memory is set (has been assigned a value) and false otherwise
- 
set_assigned_on_heap_memory_isSetpublic void set_assigned_on_heap_memory_isSet(boolean value) 
- 
get_assigned_off_heap_memorypublic double get_assigned_off_heap_memory()
- 
set_assigned_off_heap_memorypublic void set_assigned_off_heap_memory(double assigned_off_heap_memory) 
- 
unset_assigned_off_heap_memorypublic void unset_assigned_off_heap_memory()
- 
is_set_assigned_off_heap_memorypublic boolean is_set_assigned_off_heap_memory()Returns true if field assigned_off_heap_memory is set (has been assigned a value) and false otherwise
- 
set_assigned_off_heap_memory_isSetpublic void set_assigned_off_heap_memory_isSet(boolean value) 
- 
setFieldValue- Specified by:
- setFieldValuein interface- org.apache.storm.thrift.TBase<OwnerResourceSummary,- OwnerResourceSummary._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<OwnerResourceSummary,- OwnerResourceSummary._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<OwnerResourceSummary,- OwnerResourceSummary._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<OwnerResourceSummary>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<OwnerResourceSummary,- OwnerResourceSummary._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
 
 
-