@Generated(value="Autogenerated by Thrift Compiler (0.13.0)") public class SharedMemory extends Object implements org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>, Serializable, Cloneable, Comparable<SharedMemory>
Modifier and Type | Class and Description |
---|---|
static class |
SharedMemory._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<SharedMemory._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
SharedMemory() |
SharedMemory(SharedMemory other)
Performs a deep copy on other.
|
SharedMemory(String name) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
int |
compareTo(SharedMemory other) |
SharedMemory |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(SharedMemory that) |
SharedMemory._Fields |
fieldForId(int fieldId) |
String |
get_name() |
double |
get_off_heap_node() |
double |
get_off_heap_worker() |
double |
get_on_heap() |
Object |
getFieldValue(SharedMemory._Fields field) |
int |
hashCode() |
boolean |
is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
|
boolean |
is_set_off_heap_node()
Returns true if field off_heap_node is set (has been assigned a value) and false otherwise
|
boolean |
is_set_off_heap_worker()
Returns true if field off_heap_worker is set (has been assigned a value) and false otherwise
|
boolean |
is_set_on_heap()
Returns true if field on_heap is set (has been assigned a value) and false otherwise
|
boolean |
isSet(SharedMemory._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_name_isSet(boolean value) |
void |
set_name(String name) |
void |
set_off_heap_node_isSet(boolean value) |
void |
set_off_heap_node(double off_heap_node) |
void |
set_off_heap_worker_isSet(boolean value) |
void |
set_off_heap_worker(double off_heap_worker) |
void |
set_on_heap_isSet(boolean value) |
void |
set_on_heap(double on_heap) |
void |
setFieldValue(SharedMemory._Fields field,
Object value) |
String |
toString() |
void |
unset_name() |
void |
unset_off_heap_node() |
void |
unset_off_heap_worker() |
void |
unset_on_heap() |
void |
validate() |
void |
write(org.apache.storm.thrift.protocol.TProtocol oprot) |
public static final Map<SharedMemory._Fields,org.apache.storm.thrift.meta_data.FieldMetaData> metaDataMap
public SharedMemory()
public SharedMemory(String name)
public SharedMemory(SharedMemory other)
Performs a deep copy on other.
public SharedMemory deepCopy()
deepCopy
in interface org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>
public void clear()
clear
in interface org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>
public String get_name()
public void set_name(String name)
public void unset_name()
public boolean is_set_name()
Returns true if field name is set (has been assigned a value) and false otherwise
public void set_name_isSet(boolean value)
public double get_on_heap()
public void set_on_heap(double on_heap)
public void unset_on_heap()
public boolean is_set_on_heap()
Returns true if field on_heap is set (has been assigned a value) and false otherwise
public void set_on_heap_isSet(boolean value)
public double get_off_heap_worker()
public void set_off_heap_worker(double off_heap_worker)
public void unset_off_heap_worker()
public boolean is_set_off_heap_worker()
Returns true if field off_heap_worker is set (has been assigned a value) and false otherwise
public void set_off_heap_worker_isSet(boolean value)
public double get_off_heap_node()
public void set_off_heap_node(double off_heap_node)
public void unset_off_heap_node()
public boolean is_set_off_heap_node()
Returns true if field off_heap_node is set (has been assigned a value) and false otherwise
public void set_off_heap_node_isSet(boolean value)
public void setFieldValue(SharedMemory._Fields field, Object value)
setFieldValue
in interface org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>
public Object getFieldValue(SharedMemory._Fields field)
getFieldValue
in interface org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._Fields>
public boolean isSet(SharedMemory._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<SharedMemory,SharedMemory._Fields>
public boolean equals(SharedMemory that)
public int compareTo(SharedMemory other)
compareTo
in interface Comparable<SharedMemory>
public SharedMemory._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.storm.thrift.TBase<SharedMemory,SharedMemory._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.