public class QueueInfo extends Object implements org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>, Serializable, Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
QueueInfo._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<QueueInfo._Fields,org.apache.thrift7.meta_data.FieldMetaData> |
metaDataMap |
Constructor and Description |
---|
QueueInfo() |
QueueInfo(long items,
long bytes,
long journal_bytes,
long age,
int waiters,
int open_transactions) |
QueueInfo(QueueInfo other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
buffer_for_head_item() |
void |
clear() |
int |
compareTo(QueueInfo other) |
QueueInfo |
deepCopy() |
boolean |
equals(Object that) |
boolean |
equals(QueueInfo that) |
QueueInfo._Fields |
fieldForId(int fieldId) |
long |
get_age() |
long |
get_bytes() |
byte[] |
get_head_item() |
long |
get_items() |
long |
get_journal_bytes() |
int |
get_open_transactions() |
int |
get_waiters() |
Object |
getFieldValue(QueueInfo._Fields field) |
int |
hashCode() |
boolean |
is_set_age()
Returns true if field age is set (has been assigned a value) and false
otherwise
|
boolean |
is_set_bytes()
Returns true if field bytes is set (has been assigned a value) and false
otherwise
|
boolean |
is_set_head_item()
Returns true if field head_item is set (has been assigned a value) and
false otherwise
|
boolean |
is_set_items()
Returns true if field items is set (has been assigned a value) and false
otherwise
|
boolean |
is_set_journal_bytes()
Returns true if field journal_bytes is set (has been assigned a value)
and false otherwise
|
boolean |
is_set_open_transactions()
Returns true if field open_transactions is set (has been assigned a
value) and false otherwise
|
boolean |
is_set_waiters()
Returns true if field waiters is set (has been assigned a value) and
false otherwise
|
boolean |
isSet(QueueInfo._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned
a value) and false otherwise
|
void |
read(org.apache.thrift7.protocol.TProtocol iprot) |
void |
set_age_isSet(boolean value) |
void |
set_age(long age) |
void |
set_bytes_isSet(boolean value) |
void |
set_bytes(long bytes) |
void |
set_head_item_isSet(boolean value) |
void |
set_head_item(byte[] head_item) |
void |
set_head_item(ByteBuffer head_item) |
void |
set_items_isSet(boolean value) |
void |
set_items(long items) |
void |
set_journal_bytes_isSet(boolean value) |
void |
set_journal_bytes(long journal_bytes) |
void |
set_open_transactions_isSet(boolean value) |
void |
set_open_transactions(int open_transactions) |
void |
set_waiters_isSet(boolean value) |
void |
set_waiters(int waiters) |
void |
setFieldValue(QueueInfo._Fields field,
Object value) |
String |
toString() |
void |
unset_age() |
void |
unset_bytes() |
void |
unset_head_item() |
void |
unset_items() |
void |
unset_journal_bytes() |
void |
unset_open_transactions() |
void |
unset_waiters() |
void |
validate() |
void |
write(org.apache.thrift7.protocol.TProtocol oprot) |
public static final Map<QueueInfo._Fields,org.apache.thrift7.meta_data.FieldMetaData> metaDataMap
public QueueInfo()
public QueueInfo(long items, long bytes, long journal_bytes, long age, int waiters, int open_transactions)
public QueueInfo deepCopy()
deepCopy
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public void clear()
clear
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public byte[] get_head_item()
public ByteBuffer buffer_for_head_item()
public void set_head_item(byte[] head_item)
public void set_head_item(ByteBuffer head_item)
public void unset_head_item()
public boolean is_set_head_item()
public void set_head_item_isSet(boolean value)
public long get_items()
public void set_items(long items)
public void unset_items()
public boolean is_set_items()
public void set_items_isSet(boolean value)
public long get_bytes()
public void set_bytes(long bytes)
public void unset_bytes()
public boolean is_set_bytes()
public void set_bytes_isSet(boolean value)
public long get_journal_bytes()
public void set_journal_bytes(long journal_bytes)
public void unset_journal_bytes()
public boolean is_set_journal_bytes()
public void set_journal_bytes_isSet(boolean value)
public long get_age()
public void set_age(long age)
public void unset_age()
public boolean is_set_age()
public void set_age_isSet(boolean value)
public int get_waiters()
public void set_waiters(int waiters)
public void unset_waiters()
public boolean is_set_waiters()
public void set_waiters_isSet(boolean value)
public int get_open_transactions()
public void set_open_transactions(int open_transactions)
public void unset_open_transactions()
public boolean is_set_open_transactions()
public void set_open_transactions_isSet(boolean value)
public void setFieldValue(QueueInfo._Fields field, Object value)
setFieldValue
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public Object getFieldValue(QueueInfo._Fields field)
getFieldValue
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public boolean isSet(QueueInfo._Fields field)
isSet
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public int compareTo(QueueInfo other)
compareTo
in interface Comparable<QueueInfo>
public QueueInfo._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
public void read(org.apache.thrift7.protocol.TProtocol iprot) throws org.apache.thrift7.TException
read
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
org.apache.thrift7.TException
public void write(org.apache.thrift7.protocol.TProtocol oprot) throws org.apache.thrift7.TException
write
in interface org.apache.thrift7.TBase<QueueInfo,QueueInfo._Fields>
org.apache.thrift7.TException
public void validate() throws org.apache.thrift7.TException
org.apache.thrift7.TException