Package org.apache.storm.generated
Class LocalAssignment
java.lang.Object
org.apache.storm.generated.LocalAssignment
- All Implemented Interfaces:
- Serializable,- Cloneable,- Comparable<LocalAssignment>,- org.apache.storm.thrift.TBase<LocalAssignment,,- LocalAssignment._Fields> - org.apache.storm.thrift.TSerializable
- Direct Known Subclasses:
- TimerDecoratedAssignment
@Generated("Autogenerated by Thrift Compiler (0.19.0)")
public class LocalAssignment
extends Object
implements org.apache.storm.thrift.TBase<LocalAssignment,LocalAssignment._Fields>, Serializable, Cloneable, Comparable<LocalAssignment> 
- 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<LocalAssignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> 
- 
Constructor SummaryConstructorsConstructorDescriptionLocalAssignment(String topology_id, List<ExecutorInfo> executors) LocalAssignment(LocalAssignment other) Performs a deep copy on other.
- 
Method SummaryModifier and TypeMethodDescriptionvoidadd_to_executors(ExecutorInfo elem) voidclear()intcompareTo(LocalAssignment other) deepCopy()booleanbooleanequals(LocalAssignment that) fieldForId(int fieldId) intdoubleinthashCode()booleanReturns true if field 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 resources 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 total_node_shared is set (has been assigned a value) and false otherwisebooleanisSet(LocalAssignment._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoidread(org.apache.storm.thrift.protocol.TProtocol iprot) voidset_executors(List<ExecutorInfo> executors) voidset_executors_isSet(boolean value) voidvoidset_owner_isSet(boolean value) voidset_resources(WorkerResources resources) voidset_resources_isSet(boolean value) voidset_topology_id(String topology_id) voidset_topology_id_isSet(boolean value) voidset_total_node_shared(double total_node_shared) voidset_total_node_shared_isSet(boolean value) voidsetFieldValue(LocalAssignment._Fields field, Object value) toString()voidvoidvoidvoidvoidvoidvalidate()voidwrite(org.apache.storm.thrift.protocol.TProtocol oprot) 
- 
Field Details- 
metaDataMappublic static final Map<LocalAssignment._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
 
- 
- 
Constructor Details- 
LocalAssignmentpublic LocalAssignment()
- 
LocalAssignment
- 
LocalAssignmentPerforms a deep copy on other.
 
- 
- 
Method Details- 
deepCopy- Specified by:
- deepCopyin interface- org.apache.storm.thrift.TBase<LocalAssignment,- LocalAssignment._Fields> 
 
- 
clearpublic void clear()- Specified by:
- clearin interface- org.apache.storm.thrift.TBase<LocalAssignment,- LocalAssignment._Fields> 
 
- 
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_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_resources
- 
set_resources
- 
unset_resourcespublic void unset_resources()
- 
is_set_resourcespublic boolean is_set_resources()Returns true if field resources is set (has been assigned a value) and false otherwise
- 
set_resources_isSetpublic void set_resources_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<LocalAssignment,- LocalAssignment._Fields> 
 
- 
getFieldValue- Specified by:
- getFieldValuein interface- org.apache.storm.thrift.TBase<LocalAssignment,- LocalAssignment._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<LocalAssignment,- LocalAssignment._Fields> 
 
- 
equals
- 
equals
- 
hashCodepublic int hashCode()
- 
compareTo- Specified by:
- compareToin interface- Comparable<LocalAssignment>
 
- 
fieldForId- Specified by:
- fieldForIdin interface- org.apache.storm.thrift.TBase<LocalAssignment,- LocalAssignment._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
 
 
-