Package org.apache.storm.generated
Class SupervisorInfo
java.lang.Object
org.apache.storm.generated.SupervisorInfo
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<SupervisorInfo>
,org.apache.storm.thrift.TBase<SupervisorInfo,
,SupervisorInfo._Fields> org.apache.storm.thrift.TSerializable
@Generated("Autogenerated by Thrift Compiler (0.13.0)")
public class SupervisorInfo
extends Object
implements org.apache.storm.thrift.TBase<SupervisorInfo,SupervisorInfo._Fields>, Serializable, Cloneable, Comparable<SupervisorInfo>
- 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<SupervisorInfo._Fields,
org.apache.storm.thrift.meta_data.FieldMetaData> -
Constructor Summary
ConstructorDescriptionSupervisorInfo
(long time_secs, String hostname) SupervisorInfo
(SupervisorInfo other) Performs a deep copy on other. -
Method Summary
Modifier and TypeMethodDescriptionvoid
add_to_meta
(long elem) void
add_to_used_ports
(long elem) void
clear()
int
compareTo
(SupervisorInfo other) deepCopy()
boolean
boolean
equals
(SupervisorInfo that) fieldForId
(int fieldId) get_meta()
int
int
int
int
long
long
int
int
hashCode()
boolean
Returns true if field assignment_id is set (has been assigned a value) and false otherwiseboolean
Returns true if field hostname is set (has been assigned a value) and false otherwiseboolean
Returns true if field meta is set (has been assigned a value) and false otherwiseboolean
Returns true if field resources_map is set (has been assigned a value) and false otherwiseboolean
Returns true if field scheduler_meta is set (has been assigned a value) and false otherwiseboolean
Returns true if field server_port is set (has been assigned a value) and false otherwiseboolean
Returns true if field time_secs is set (has been assigned a value) and false otherwiseboolean
Returns true if field uptime_secs is set (has been assigned a value) and false otherwiseboolean
Returns true if field used_ports is set (has been assigned a value) and false otherwiseboolean
Returns true if field version is set (has been assigned a value) and false otherwiseboolean
isSet
(SupervisorInfo._Fields field) Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisevoid
put_to_resources_map
(String key, double val) void
put_to_scheduler_meta
(String key, String val) void
read
(org.apache.storm.thrift.protocol.TProtocol iprot) void
set_assignment_id
(String assignment_id) void
set_assignment_id_isSet
(boolean value) void
set_hostname
(String hostname) void
set_hostname_isSet
(boolean value) void
void
set_meta_isSet
(boolean value) void
set_resources_map
(Map<String, Double> resources_map) void
set_resources_map_isSet
(boolean value) void
set_scheduler_meta
(Map<String, String> scheduler_meta) void
set_scheduler_meta_isSet
(boolean value) void
set_server_port
(int server_port) void
set_server_port_isSet
(boolean value) void
set_time_secs
(long time_secs) void
set_time_secs_isSet
(boolean value) void
set_uptime_secs
(long uptime_secs) void
set_uptime_secs_isSet
(boolean value) void
set_used_ports
(List<Long> used_ports) void
set_used_ports_isSet
(boolean value) void
set_version
(String version) void
set_version_isSet
(boolean value) void
setFieldValue
(SupervisorInfo._Fields field, Object value) toString()
void
void
void
void
void
void
void
void
void
void
void
validate()
void
write
(org.apache.storm.thrift.protocol.TProtocol oprot)
-
Field Details
-
metaDataMap
public static final Map<SupervisorInfo._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Details
-
SupervisorInfo
public SupervisorInfo() -
SupervisorInfo
-
SupervisorInfo
Performs a deep copy on other.
-
-
Method Details
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.apache.storm.thrift.TBase<SupervisorInfo,
SupervisorInfo._Fields>
-
clear
public void clear()- Specified by:
clear
in interfaceorg.apache.storm.thrift.TBase<SupervisorInfo,
SupervisorInfo._Fields>
-
get_time_secs
public long get_time_secs() -
set_time_secs
public void set_time_secs(long time_secs) -
unset_time_secs
public void unset_time_secs() -
is_set_time_secs
public boolean is_set_time_secs()Returns true if field time_secs is set (has been assigned a value) and false otherwise -
set_time_secs_isSet
public void set_time_secs_isSet(boolean value) -
get_hostname
-
set_hostname
-
unset_hostname
public void unset_hostname() -
is_set_hostname
public boolean is_set_hostname()Returns true if field hostname is set (has been assigned a value) and false otherwise -
set_hostname_isSet
public void set_hostname_isSet(boolean value) -
get_assignment_id
-
set_assignment_id
-
unset_assignment_id
public void unset_assignment_id() -
is_set_assignment_id
public boolean is_set_assignment_id()Returns true if field assignment_id is set (has been assigned a value) and false otherwise -
set_assignment_id_isSet
public void set_assignment_id_isSet(boolean value) -
get_used_ports_size
public int get_used_ports_size() -
get_used_ports_iterator
-
add_to_used_ports
public void add_to_used_ports(long elem) -
get_used_ports
-
set_used_ports
-
unset_used_ports
public void unset_used_ports() -
is_set_used_ports
public boolean is_set_used_ports()Returns true if field used_ports is set (has been assigned a value) and false otherwise -
set_used_ports_isSet
public void set_used_ports_isSet(boolean value) -
get_meta_size
public int get_meta_size() -
get_meta_iterator
-
add_to_meta
public void add_to_meta(long elem) -
get_meta
-
set_meta
-
unset_meta
public void unset_meta() -
is_set_meta
public boolean is_set_meta()Returns true if field meta is set (has been assigned a value) and false otherwise -
set_meta_isSet
public void set_meta_isSet(boolean value) -
get_scheduler_meta_size
public int get_scheduler_meta_size() -
put_to_scheduler_meta
-
get_scheduler_meta
-
set_scheduler_meta
-
unset_scheduler_meta
public void unset_scheduler_meta() -
is_set_scheduler_meta
public boolean is_set_scheduler_meta()Returns true if field scheduler_meta is set (has been assigned a value) and false otherwise -
set_scheduler_meta_isSet
public void set_scheduler_meta_isSet(boolean value) -
get_uptime_secs
public long get_uptime_secs() -
set_uptime_secs
public void set_uptime_secs(long uptime_secs) -
unset_uptime_secs
public void unset_uptime_secs() -
is_set_uptime_secs
public boolean is_set_uptime_secs()Returns true if field uptime_secs is set (has been assigned a value) and false otherwise -
set_uptime_secs_isSet
public void set_uptime_secs_isSet(boolean value) -
get_version
-
set_version
-
unset_version
public void unset_version() -
is_set_version
public boolean is_set_version()Returns true if field version is set (has been assigned a value) and false otherwise -
set_version_isSet
public void set_version_isSet(boolean value) -
get_resources_map_size
public int get_resources_map_size() -
put_to_resources_map
-
get_resources_map
-
set_resources_map
-
unset_resources_map
public void unset_resources_map() -
is_set_resources_map
public boolean is_set_resources_map()Returns true if field resources_map is set (has been assigned a value) and false otherwise -
set_resources_map_isSet
public void set_resources_map_isSet(boolean value) -
get_server_port
public int get_server_port() -
set_server_port
public void set_server_port(int server_port) -
unset_server_port
public void unset_server_port() -
is_set_server_port
public boolean is_set_server_port()Returns true if field server_port is set (has been assigned a value) and false otherwise -
set_server_port_isSet
public void set_server_port_isSet(boolean value) -
setFieldValue
- Specified by:
setFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorInfo,
SupervisorInfo._Fields>
-
getFieldValue
- Specified by:
getFieldValue
in interfaceorg.apache.storm.thrift.TBase<SupervisorInfo,
SupervisorInfo._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<SupervisorInfo,
SupervisorInfo._Fields>
-
equals
-
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareTo
in interfaceComparable<SupervisorInfo>
-
fieldForId
- Specified by:
fieldForId
in interfaceorg.apache.storm.thrift.TBase<SupervisorInfo,
SupervisorInfo._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
-