@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class SupervisorWorkerHeartbeat extends Object implements org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>, Serializable, Cloneable, Comparable<SupervisorWorkerHeartbeat>
Modifier and Type | Class and Description |
---|---|
static class |
SupervisorWorkerHeartbeat._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and Description |
---|---|
static Map<SupervisorWorkerHeartbeat._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SupervisorWorkerHeartbeat() |
SupervisorWorkerHeartbeat(String storm_id,
List<ExecutorInfo> executors,
int time_secs) |
SupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
add_to_executors(ExecutorInfo elem) |
void |
clear() |
int |
compareTo(SupervisorWorkerHeartbeat other) |
SupervisorWorkerHeartbeat |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SupervisorWorkerHeartbeat that) |
SupervisorWorkerHeartbeat._Fields |
fieldForId(int fieldId) |
Iterator<ExecutorInfo> |
get_executors_iterator() |
int |
get_executors_size() |
List<ExecutorInfo> |
get_executors() |
String |
get_storm_id() |
int |
get_time_secs() |
Object |
getFieldValue(SupervisorWorkerHeartbeat._Fields field) |
int |
hashCode() |
boolean |
is_set_executors()
Returns true if field executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_storm_id()
Returns true if field storm_id is set (has been assigned a value) and false otherwise
|
boolean |
is_set_time_secs()
Returns true if field time_secs is set (has been assigned a value) and false otherwise
|
boolean |
isSet(SupervisorWorkerHeartbeat._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_executors_isSet(boolean value) |
void |
set_executors(List<ExecutorInfo> executors) |
void |
set_storm_id_isSet(boolean value) |
void |
set_storm_id(String storm_id) |
void |
set_time_secs_isSet(boolean value) |
void |
set_time_secs(int time_secs) |
void |
setFieldValue(SupervisorWorkerHeartbeat._Fields field,
Object value) |
String |
toString() |
void |
unset_executors() |
void |
unset_storm_id() |
void |
unset_time_secs() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<SupervisorWorkerHeartbeat._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SupervisorWorkerHeartbeat()
public SupervisorWorkerHeartbeat(String storm_id, List<ExecutorInfo> executors, int time_secs)
public SupervisorWorkerHeartbeat(SupervisorWorkerHeartbeat other)
public SupervisorWorkerHeartbeat deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public String get_storm_id()
public void set_storm_id(String storm_id)
public void unset_storm_id()
public boolean is_set_storm_id()
public void set_storm_id_isSet(boolean value)
public int get_executors_size()
public Iterator<ExecutorInfo> get_executors_iterator()
public void add_to_executors(ExecutorInfo elem)
public List<ExecutorInfo> get_executors()
public void set_executors(List<ExecutorInfo> executors)
public void unset_executors()
public boolean is_set_executors()
public void set_executors_isSet(boolean value)
public int get_time_secs()
public void set_time_secs(int time_secs)
public void unset_time_secs()
public boolean is_set_time_secs()
public void set_time_secs_isSet(boolean value)
public void setFieldValue(SupervisorWorkerHeartbeat._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public Object getFieldValue(SupervisorWorkerHeartbeat._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public boolean isSet(SupervisorWorkerHeartbeat._Fields field)
isSet
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public boolean equals(SupervisorWorkerHeartbeat that)
public int compareTo(SupervisorWorkerHeartbeat other)
compareTo
in interface Comparable<SupervisorWorkerHeartbeat>
public SupervisorWorkerHeartbeat._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SupervisorWorkerHeartbeat,SupervisorWorkerHeartbeat._Fields>
public void read(org.apache.storm.thrift.protocol.TProtocol iprot) throws org.apache.storm.thrift.TException
read
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void write(org.apache.storm.thrift.protocol.TProtocol oprot) throws org.apache.storm.thrift.TException
write
in interface org.apache.storm.thrift.TSerializable
org.apache.storm.thrift.TException
public void validate() throws org.apache.storm.thrift.TException
org.apache.storm.thrift.TException
Copyright © 2023 The Apache Software Foundation. All rights reserved.