|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.apache.cassandra.thrift.TimedOutException
public class TimedOutException
RPC timeout was exceeded. either a node failed mid-operation, or load was too high, or the requested op was too large.
Nested Class Summary | |
---|---|
static class |
TimedOutException._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
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 Summary | |
---|---|
TimedOutException()
|
|
TimedOutException(TimedOutException other)
Performs a deep copy on other. |
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(TimedOutException other)
|
TimedOutException |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(TimedOutException that)
|
TimedOutException._Fields |
fieldForId(int 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)
|
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)
|
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)
|
java.lang.String |
toString()
|
void |
unsetAcknowledged_by_batchlog()
|
void |
unsetAcknowledged_by()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int acknowledged_by
public boolean acknowledged_by_batchlog
public static final java.util.Map<TimedOutException._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public TimedOutException()
public TimedOutException(TimedOutException other)
Method Detail |
---|
public TimedOutException deepCopy()
deepCopy
in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>
public void clear()
clear
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)
setFieldValue
in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>
public java.lang.Object getFieldValue(TimedOutException._Fields field)
getFieldValue
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.Object
public boolean equals(TimedOutException that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(TimedOutException other)
compareTo
in interface java.lang.Comparable<TimedOutException>
public TimedOutException._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Throwable
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |