public class TimedOutException extends org.apache.thrift.TException implements org.apache.thrift.TBase<TimedOutException,TimedOutException._Fields>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<TimedOutException>
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 |
boolean |
paxos_in_progress
for the CAS method, this field tells if we timed out during the paxos
protocol, as opposed to during the commit of our update
|
Constructor and Description |
---|
TimedOutException() |
TimedOutException(TimedOutException other)
Performs a deep copy on other.
|
Modifier and Type | Method and Description |
---|---|
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 |
isPaxos_in_progress()
for the CAS method, this field tells if we timed out during the paxos
protocol, as opposed to during the commit of our update
|
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
|
boolean |
isSetPaxos_in_progress()
Returns true if field paxos_in_progress 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) |
TimedOutException |
setPaxos_in_progress(boolean paxos_in_progress)
for the CAS method, this field tells if we timed out during the paxos
protocol, as opposed to during the commit of our update
|
void |
setPaxos_in_progressIsSet(boolean value) |
java.lang.String |
toString() |
void |
unsetAcknowledged_by_batchlog() |
void |
unsetAcknowledged_by() |
void |
unsetPaxos_in_progress() |
void |
validate() |
void |
write(org.apache.thrift.protocol.TProtocol oprot) |
public int acknowledged_by
public boolean acknowledged_by_batchlog
public boolean paxos_in_progress
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()
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 boolean isPaxos_in_progress()
public TimedOutException setPaxos_in_progress(boolean paxos_in_progress)
public void unsetPaxos_in_progress()
public boolean isSetPaxos_in_progress()
public void setPaxos_in_progressIsSet(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
Copyright © 2020 The Apache Software Foundation