@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class RebalanceOptions extends Object implements org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>, Serializable, Cloneable, Comparable<RebalanceOptions>
Modifier and Type | Class and Description |
---|---|
static class |
RebalanceOptions._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<RebalanceOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
RebalanceOptions() |
RebalanceOptions(RebalanceOptions other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(RebalanceOptions other) |
RebalanceOptions |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(RebalanceOptions that) |
RebalanceOptions._Fields |
fieldForId(int fieldId) |
int |
get_num_executors_size() |
Map<String,Integer> |
get_num_executors() |
int |
get_num_workers() |
String |
get_principal() |
String |
get_topology_conf_overrides() |
int |
get_topology_resources_overrides_size() |
Map<String,Map<String,Double>> |
get_topology_resources_overrides() |
int |
get_wait_secs() |
Object |
getFieldValue(RebalanceOptions._Fields field) |
int |
hashCode() |
boolean |
is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
|
boolean |
is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
|
boolean |
is_set_principal()
Returns true if field principal is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_conf_overrides()
Returns true if field topology_conf_overrides is set (has been assigned a value) and false otherwise
|
boolean |
is_set_topology_resources_overrides()
Returns true if field topology_resources_overrides is set (has been assigned a value) and false otherwise
|
boolean |
is_set_wait_secs()
Returns true if field wait_secs is set (has been assigned a value) and false otherwise
|
boolean |
isSet(RebalanceOptions._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
void |
put_to_num_executors(String key,
int val) |
void |
put_to_topology_resources_overrides(String key,
Map<String,Double> val) |
void |
read(org.apache.storm.thrift.protocol.TProtocol iprot) |
void |
set_num_executors_isSet(boolean value) |
void |
set_num_executors(Map<String,Integer> num_executors) |
void |
set_num_workers_isSet(boolean value) |
void |
set_num_workers(int num_workers) |
void |
set_principal_isSet(boolean value) |
void |
set_principal(String principal) |
void |
set_topology_conf_overrides_isSet(boolean value) |
void |
set_topology_conf_overrides(String topology_conf_overrides) |
void |
set_topology_resources_overrides_isSet(boolean value) |
void |
set_topology_resources_overrides(Map<String,Map<String,Double>> topology_resources_overrides) |
void |
set_wait_secs_isSet(boolean value) |
void |
set_wait_secs(int wait_secs) |
void |
setFieldValue(RebalanceOptions._Fields field,
Object value) |
String |
toString() |
void |
unset_num_executors() |
void |
unset_num_workers() |
void |
unset_principal() |
void |
unset_topology_conf_overrides() |
void |
unset_topology_resources_overrides() |
void |
unset_wait_secs() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<RebalanceOptions._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public RebalanceOptions()
public RebalanceOptions(RebalanceOptions other)
Performs a deep copy on other.
public RebalanceOptions deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public int get_wait_secs()
public void set_wait_secs(int wait_secs)
public void unset_wait_secs()
public boolean is_set_wait_secs()
Returns true if field wait_secs is set (has been assigned a value) and false otherwise
public void set_wait_secs_isSet(boolean value)
public int get_num_workers()
public void set_num_workers(int num_workers)
public void unset_num_workers()
public boolean is_set_num_workers()
Returns true if field num_workers is set (has been assigned a value) and false otherwise
public void set_num_workers_isSet(boolean value)
public int get_num_executors_size()
public void put_to_num_executors(String key, int val)
public void unset_num_executors()
public boolean is_set_num_executors()
Returns true if field num_executors is set (has been assigned a value) and false otherwise
public void set_num_executors_isSet(boolean value)
public int get_topology_resources_overrides_size()
public void put_to_topology_resources_overrides(String key, Map<String,Double> val)
public Map<String,Map<String,Double>> get_topology_resources_overrides()
public void set_topology_resources_overrides(Map<String,Map<String,Double>> topology_resources_overrides)
public void unset_topology_resources_overrides()
public boolean is_set_topology_resources_overrides()
Returns true if field topology_resources_overrides is set (has been assigned a value) and false otherwise
public void set_topology_resources_overrides_isSet(boolean value)
public String get_topology_conf_overrides()
public void set_topology_conf_overrides(String topology_conf_overrides)
public void unset_topology_conf_overrides()
public boolean is_set_topology_conf_overrides()
Returns true if field topology_conf_overrides is set (has been assigned a value) and false otherwise
public void set_topology_conf_overrides_isSet(boolean value)
public String get_principal()
public void set_principal(String principal)
public void unset_principal()
public boolean is_set_principal()
Returns true if field principal is set (has been assigned a value) and false otherwise
public void set_principal_isSet(boolean value)
public void setFieldValue(RebalanceOptions._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public Object getFieldValue(RebalanceOptions._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._Fields>
public boolean isSet(RebalanceOptions._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<RebalanceOptions,RebalanceOptions._Fields>
public boolean equals(RebalanceOptions that)
public int compareTo(RebalanceOptions other)
compareTo
in interface Comparable<RebalanceOptions>
public RebalanceOptions._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<RebalanceOptions,RebalanceOptions._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 © 2022 The Apache Software Foundation. All rights reserved.