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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
The set of fields this struct contains, along with convenience methods for finding and manipulating them. -
Field Summary
Modifier and TypeFieldDescriptionstatic final Map<SupervisorWorkerHeartbeats._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionSupervisorWorkerHeartbeats
(String supervisor_id, List<SupervisorWorkerHeartbeat> worker_heartbeats) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
clear()
int
deepCopy()
boolean
boolean
fieldForId
(int fieldId) int
int
hashCode()
boolean
Returns true if field supervisor_id is set (has been assigned a value) and false otherwiseboolean
Returns true if field worker_heartbeats is set (has been assigned a value) and false otherwiseboolean
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_supervisor_id
(String supervisor_id) void
set_supervisor_id_isSet
(boolean value) void
set_worker_heartbeats
(List<SupervisorWorkerHeartbeat> worker_heartbeats) void
set_worker_heartbeats_isSet
(boolean value) void
setFieldValue
(SupervisorWorkerHeartbeats._Fields field, Object value) toString()
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SupervisorWorkerHeartbeats._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SupervisorWorkerHeartbeats
public SupervisorWorkerHeartbeats() -
SupervisorWorkerHeartbeats
public SupervisorWorkerHeartbeats(String supervisor_id, List<SupervisorWorkerHeartbeat> worker_heartbeats) -
SupervisorWorkerHeartbeats
Performs a deep copy on other.
-
-
Method Details
-
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
-
set_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
-
add_to_worker_heartbeats
-
get_worker_heartbeats
-
set_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
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,
SupervisorWorkerHeartbeats._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorWorkerHeartbeats,
SupervisorWorkerHeartbeats._Fields>
-
isSet
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
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SupervisorWorkerHeartbeats>
-
fieldForId
- 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
-
toString
-
validate
public void validate() throws org.apache.storm.thrift.TException- Throws:
org.apache.storm.thrift.TException
-