|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.master.thrift.RecoveryStatus
public class RecoveryStatus
Nested Class Summary | |
---|---|
static class |
RecoveryStatus._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them. |
Field Summary | |
---|---|
double |
copyProgress
|
java.lang.String |
host
|
double |
mapProgress
|
static java.util.Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
java.lang.String |
name
|
double |
reduceProgress
|
int |
runtime
|
Constructor Summary | |
---|---|
RecoveryStatus()
|
|
RecoveryStatus(RecoveryStatus other)
Performs a deep copy on other. |
|
RecoveryStatus(java.lang.String host,
java.lang.String name,
double mapProgress,
double reduceProgress,
int runtime,
double copyProgress)
|
Method Summary | |
---|---|
RecoveryStatus |
clone()
Deprecated. |
int |
compareTo(RecoveryStatus other)
|
RecoveryStatus |
deepCopy()
|
boolean |
equals(java.lang.Object that)
|
boolean |
equals(RecoveryStatus that)
|
double |
getCopyProgress()
|
java.lang.Object |
getFieldValue(int fieldId)
|
java.lang.Object |
getFieldValue(RecoveryStatus._Fields field)
|
java.lang.String |
getHost()
|
double |
getMapProgress()
|
java.lang.String |
getName()
|
double |
getReduceProgress()
|
int |
getRuntime()
|
int |
hashCode()
|
boolean |
isSet(int fieldID)
|
boolean |
isSet(RecoveryStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been asigned a value) and false otherwise |
boolean |
isSetCopyProgress()
Returns true if field copyProgress is set (has been asigned a value) and false otherwise |
boolean |
isSetHost()
Returns true if field host is set (has been asigned a value) and false otherwise |
boolean |
isSetMapProgress()
Returns true if field mapProgress is set (has been asigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been asigned a value) and false otherwise |
boolean |
isSetReduceProgress()
Returns true if field reduceProgress is set (has been asigned a value) and false otherwise |
boolean |
isSetRuntime()
Returns true if field runtime is set (has been asigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
RecoveryStatus |
setCopyProgress(double copyProgress)
|
void |
setCopyProgressIsSet(boolean value)
|
void |
setFieldValue(int fieldID,
java.lang.Object value)
|
void |
setFieldValue(RecoveryStatus._Fields field,
java.lang.Object value)
|
RecoveryStatus |
setHost(java.lang.String host)
|
void |
setHostIsSet(boolean value)
|
RecoveryStatus |
setMapProgress(double mapProgress)
|
void |
setMapProgressIsSet(boolean value)
|
RecoveryStatus |
setName(java.lang.String name)
|
void |
setNameIsSet(boolean value)
|
RecoveryStatus |
setReduceProgress(double reduceProgress)
|
void |
setReduceProgressIsSet(boolean value)
|
RecoveryStatus |
setRuntime(int runtime)
|
void |
setRuntimeIsSet(boolean value)
|
java.lang.String |
toString()
|
void |
unsetCopyProgress()
|
void |
unsetHost()
|
void |
unsetMapProgress()
|
void |
unsetName()
|
void |
unsetReduceProgress()
|
void |
unsetRuntime()
|
void |
validate()
|
void |
write(org.apache.thrift.protocol.TProtocol oprot)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public java.lang.String host
public java.lang.String name
public double mapProgress
public double reduceProgress
public int runtime
public double copyProgress
public static final java.util.Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public RecoveryStatus()
public RecoveryStatus(java.lang.String host, java.lang.String name, double mapProgress, double reduceProgress, int runtime, double copyProgress)
public RecoveryStatus(RecoveryStatus other)
Method Detail |
---|
public RecoveryStatus deepCopy()
deepCopy
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
@Deprecated public RecoveryStatus clone()
clone
in class java.lang.Object
public java.lang.String getHost()
public RecoveryStatus setHost(java.lang.String host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean value)
public java.lang.String getName()
public RecoveryStatus setName(java.lang.String name)
public void unsetName()
public boolean isSetName()
public void setNameIsSet(boolean value)
public double getMapProgress()
public RecoveryStatus setMapProgress(double mapProgress)
public void unsetMapProgress()
public boolean isSetMapProgress()
public void setMapProgressIsSet(boolean value)
public double getReduceProgress()
public RecoveryStatus setReduceProgress(double reduceProgress)
public void unsetReduceProgress()
public boolean isSetReduceProgress()
public void setReduceProgressIsSet(boolean value)
public int getRuntime()
public RecoveryStatus setRuntime(int runtime)
public void unsetRuntime()
public boolean isSetRuntime()
public void setRuntimeIsSet(boolean value)
public double getCopyProgress()
public RecoveryStatus setCopyProgress(double copyProgress)
public void unsetCopyProgress()
public boolean isSetCopyProgress()
public void setCopyProgressIsSet(boolean value)
public void setFieldValue(RecoveryStatus._Fields field, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public void setFieldValue(int fieldID, java.lang.Object value)
setFieldValue
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public java.lang.Object getFieldValue(RecoveryStatus._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public java.lang.Object getFieldValue(int fieldId)
getFieldValue
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public boolean isSet(RecoveryStatus._Fields field)
isSet
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public boolean isSet(int fieldID)
isSet
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public boolean equals(java.lang.Object that)
equals
in class java.lang.Object
public boolean equals(RecoveryStatus that)
public int hashCode()
hashCode
in class java.lang.Object
public int compareTo(RecoveryStatus other)
compareTo
in interface java.lang.Comparable<RecoveryStatus>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._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<RecoveryStatus,RecoveryStatus._Fields>
org.apache.thrift.TException
public java.lang.String toString()
toString
in class java.lang.Object
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 |