Package org.apache.storm.generated
Class SupervisorWorkerHeartbeats
- java.lang.Object
-
- org.apache.storm.generated.SupervisorWorkerHeartbeats
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<SupervisorWorkerHeartbeats>
,org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
,org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.19.0)") public class SupervisorWorkerHeartbeats extends Object implements org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>, Serializable, Cloneable, Comparable<SupervisorWorkerHeartbeats>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SupervisorWorkerHeartbeats._Fields
The 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<SupervisorWorkerHeartbeats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData>
metaDataMap
-
Constructor Summary
Constructors Constructor Description SupervisorWorkerHeartbeats()
SupervisorWorkerHeartbeats(String supervisor_id, List<SupervisorWorkerHeartbeat> worker_heartbeats)
SupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats other)
Performs a deep copy on other.
-
Method Summary
-
-
-
Field Detail
-
metaDataMap
public static final Map<SupervisorWorkerHeartbeats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
SupervisorWorkerHeartbeats
public SupervisorWorkerHeartbeats()
-
SupervisorWorkerHeartbeats
public SupervisorWorkerHeartbeats(String supervisor_id, List<SupervisorWorkerHeartbeat> worker_heartbeats)
-
SupervisorWorkerHeartbeats
public SupervisorWorkerHeartbeats(SupervisorWorkerHeartbeats other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public SupervisorWorkerHeartbeats deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._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_worker_heartbeats_size
public int get_worker_heartbeats_size()
-
get_worker_heartbeats_iterator
public Iterator<SupervisorWorkerHeartbeat> get_worker_heartbeats_iterator()
-
add_to_worker_heartbeats
public void add_to_worker_heartbeats(SupervisorWorkerHeartbeat elem)
-
get_worker_heartbeats
public List<SupervisorWorkerHeartbeat> get_worker_heartbeats()
-
set_worker_heartbeats
public void set_worker_heartbeats(List<SupervisorWorkerHeartbeat> worker_heartbeats)
-
unset_worker_heartbeats
public void unset_worker_heartbeats()
-
is_set_worker_heartbeats
public boolean is_set_worker_heartbeats()
Returns true if field worker_heartbeats is set (has been assigned a value) and false otherwise
-
set_worker_heartbeats_isSet
public void set_worker_heartbeats_isSet(boolean value)
-
setFieldValue
public void setFieldValue(SupervisorWorkerHeartbeats._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
-
getFieldValue
public Object getFieldValue(SupervisorWorkerHeartbeats._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
-
isSet
public boolean isSet(SupervisorWorkerHeartbeats._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise- Specified by:
isSet
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
-
equals
public boolean equals(SupervisorWorkerHeartbeats that)
-
compareTo
public int compareTo(SupervisorWorkerHeartbeats other)
- Specified by:
compareTo
in interfaceComparable<SupervisorWorkerHeartbeats>
-
fieldForId
public SupervisorWorkerHeartbeats._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,SupervisorWorkerHeartbeats._Fields>
-
read
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
- Specified by:
read
in 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:
write
in 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
-
-