|
||||||||||
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
|
String |
host
|
double |
mapProgress
|
static Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> |
metaDataMap
|
String |
name
|
double |
reduceProgress
|
int |
runtime
|
Constructor Summary | |
---|---|
RecoveryStatus()
|
|
RecoveryStatus(RecoveryStatus other)
Performs a deep copy on other. |
|
RecoveryStatus(String host,
String name,
double mapProgress,
double reduceProgress,
int runtime,
double copyProgress)
|
Method Summary | |
---|---|
void |
clear()
|
int |
compareTo(RecoveryStatus other)
|
RecoveryStatus |
deepCopy()
|
boolean |
equals(Object that)
|
boolean |
equals(RecoveryStatus that)
|
RecoveryStatus._Fields |
fieldForId(int fieldId)
|
double |
getCopyProgress()
|
Object |
getFieldValue(RecoveryStatus._Fields field)
|
String |
getHost()
|
double |
getMapProgress()
|
String |
getName()
|
double |
getReduceProgress()
|
int |
getRuntime()
|
int |
hashCode()
|
boolean |
isSet(RecoveryStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise |
boolean |
isSetCopyProgress()
Returns true if field copyProgress is set (has been assigned a value) and false otherwise |
boolean |
isSetHost()
Returns true if field host is set (has been assigned a value) and false otherwise |
boolean |
isSetMapProgress()
Returns true if field mapProgress is set (has been assigned a value) and false otherwise |
boolean |
isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise |
boolean |
isSetReduceProgress()
Returns true if field reduceProgress is set (has been assigned a value) and false otherwise |
boolean |
isSetRuntime()
Returns true if field runtime is set (has been assigned a value) and false otherwise |
void |
read(org.apache.thrift.protocol.TProtocol iprot)
|
RecoveryStatus |
setCopyProgress(double copyProgress)
|
void |
setCopyProgressIsSet(boolean value)
|
void |
setFieldValue(RecoveryStatus._Fields field,
Object value)
|
RecoveryStatus |
setHost(String host)
|
void |
setHostIsSet(boolean value)
|
RecoveryStatus |
setMapProgress(double mapProgress)
|
void |
setMapProgressIsSet(boolean value)
|
RecoveryStatus |
setName(String name)
|
void |
setNameIsSet(boolean value)
|
RecoveryStatus |
setReduceProgress(double reduceProgress)
|
void |
setReduceProgressIsSet(boolean value)
|
RecoveryStatus |
setRuntime(int runtime)
|
void |
setRuntimeIsSet(boolean value)
|
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 |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String host
public String name
public double mapProgress
public double reduceProgress
public int runtime
public double copyProgress
public static final Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail |
---|
public RecoveryStatus()
public RecoveryStatus(String host, 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>
public void clear()
clear
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public String getHost()
public RecoveryStatus setHost(String host)
public void unsetHost()
public boolean isSetHost()
public void setHostIsSet(boolean value)
public String getName()
public RecoveryStatus setName(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, Object value)
setFieldValue
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
public Object getFieldValue(RecoveryStatus._Fields field)
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 equals(Object that)
equals
in class Object
public boolean equals(RecoveryStatus that)
public int hashCode()
hashCode
in class Object
public int compareTo(RecoveryStatus other)
compareTo
in interface Comparable<RecoveryStatus>
public RecoveryStatus._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
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 String toString()
toString
in class 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 |