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