public class TimedOutException extends java.lang.Exception implements org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>, java.io.Serializable, java.lang.Cloneable
| Modifier and Type | Class and Description |
|---|---|
static class |
TimedOutException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
| Modifier and Type | Field and Description |
|---|---|
int |
acknowledged_by
if a write operation was acknowledged by some replicas but not by enough to
satisfy the required ConsistencyLevel, the number of successful
replies will be given here.
|
boolean |
acknowledged_by_batchlog
in case of atomic_batch_mutate method this field tells if the batch was written to the batchlog.
|
static java.util.Map<TimedOutException._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap |
| Constructor and Description |
|---|
TimedOutException() |
TimedOutException(TimedOutException other)
Performs a deep copy on other.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Return to the state of having just been initialized, as though you had just
called the default constructor.
|
int |
compareTo(TimedOutException other) |
TimedOutException |
deepCopy() |
boolean |
equals(java.lang.Object that) |
boolean |
equals(TimedOutException that) |
TimedOutException._Fields |
fieldForId(int fieldId)
Get the F instance that corresponds to fieldId.
|
int |
getAcknowledged_by()
if a write operation was acknowledged by some replicas but not by enough to
satisfy the required ConsistencyLevel, the number of successful
replies will be given here.
|
java.lang.Object |
getFieldValue(TimedOutException._Fields field)
Get a field's value by field variable.
|
int |
hashCode() |
boolean |
isAcknowledged_by_batchlog()
in case of atomic_batch_mutate method this field tells if the batch was written to the batchlog.
|
boolean |
isSet(TimedOutException._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
|
boolean |
isSetAcknowledged_by_batchlog()
Returns true if field acknowledged_by_batchlog is set (has been assigned a value) and false otherwise
|
boolean |
isSetAcknowledged_by()
Returns true if field acknowledged_by is set (has been assigned a value) and false otherwise
|
void |
read(org.apache.thrift.protocol.TProtocol iprot)
Reads the TObject from the given input protocol.
|
TimedOutException |
setAcknowledged_by_batchlog(boolean acknowledged_by_batchlog)
in case of atomic_batch_mutate method this field tells if the batch was written to the batchlog.
|
void |
setAcknowledged_by_batchlogIsSet(boolean value) |
TimedOutException |
setAcknowledged_by(int acknowledged_by)
if a write operation was acknowledged by some replicas but not by enough to
satisfy the required ConsistencyLevel, the number of successful
replies will be given here.
|
void |
setAcknowledged_byIsSet(boolean value) |
void |
setFieldValue(TimedOutException._Fields field,
java.lang.Object value)
Set a field's value by field variable.
|
java.lang.String |
toString() |
void |
unsetAcknowledged_by_batchlog() |
void |
unsetAcknowledged_by() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot)
Writes the objects out to the protocol
|
public int acknowledged_by
public boolean acknowledged_by_batchlog
public static final java.util.Map<TimedOutException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public TimedOutException()
public TimedOutException(TimedOutException other)
public TimedOutException deepCopy()
deepCopy in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public void clear()
org.apache.thrift.TBaseclear in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public int getAcknowledged_by()
public TimedOutException setAcknowledged_by(int acknowledged_by)
public void unsetAcknowledged_by()
public boolean isSetAcknowledged_by()
public void setAcknowledged_byIsSet(boolean value)
public boolean isAcknowledged_by_batchlog()
public TimedOutException setAcknowledged_by_batchlog(boolean acknowledged_by_batchlog)
public void unsetAcknowledged_by_batchlog()
public boolean isSetAcknowledged_by_batchlog()
public void setAcknowledged_by_batchlogIsSet(boolean value)
public void setFieldValue(TimedOutException._Fields field, java.lang.Object value)
org.apache.thrift.TBasesetFieldValue in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public java.lang.Object getFieldValue(TimedOutException._Fields field)
org.apache.thrift.TBasegetFieldValue in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public boolean isSet(TimedOutException._Fields field)
isSet in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public boolean equals(java.lang.Object that)
equals in class java.lang.Objectpublic boolean equals(TimedOutException that)
public int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(TimedOutException other)
compareTo in interface java.lang.Comparable<TimedOutException>public TimedOutException._Fields fieldForId(int fieldId)
org.apache.thrift.TBasefieldForId in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>public void read(org.apache.thrift.protocol.TProtocol iprot)
throws org.apache.thrift.TException
org.apache.thrift.TBaseread in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>iprot - Input protocolorg.apache.thrift.TExceptionpublic void write(org.apache.thrift.protocol.TProtocol oprot)
throws org.apache.thrift.TException
org.apache.thrift.TBasewrite in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>oprot - Output protocolorg.apache.thrift.TExceptionpublic java.lang.String toString()
toString in class java.lang.Throwablepublic void validate()
throws org.apache.thrift.TException
org.apache.thrift.TExceptionCopyright © 2014 The Apache Software Foundation