org.apache.accumulo.core.master.thrift
Class RecoveryStatus

java.lang.Object
  extended by org.apache.accumulo.core.master.thrift.RecoveryStatus
All Implemented Interfaces:
Serializable, Cloneable, Comparable<RecoveryStatus>, org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

public class RecoveryStatus
extends Object
implements org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>, Serializable, Cloneable

See Also:
Serialized Form

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
static Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String name
           
 double progress
           
 int runtime
           
 
Constructor Summary
RecoveryStatus()
           
RecoveryStatus(RecoveryStatus other)
          Performs a deep copy on other.
RecoveryStatus(String name, int runtime, double progress)
           
 
Method Summary
 void clear()
           
 int compareTo(RecoveryStatus other)
           
 RecoveryStatus deepCopy()
           
 boolean equals(Object that)
           
 boolean equals(RecoveryStatus that)
           
 RecoveryStatus._Fields fieldForId(int fieldId)
           
 Object getFieldValue(RecoveryStatus._Fields field)
           
 String getName()
           
 double getProgress()
           
 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 isSetName()
          Returns true if field name is set (has been assigned a value) and false otherwise
 boolean isSetProgress()
          Returns true if field progress 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)
           
 void setFieldValue(RecoveryStatus._Fields field, Object value)
           
 RecoveryStatus setName(String name)
           
 void setNameIsSet(boolean value)
           
 RecoveryStatus setProgress(double progress)
           
 void setProgressIsSet(boolean value)
           
 RecoveryStatus setRuntime(int runtime)
           
 void setRuntimeIsSet(boolean value)
           
 String toString()
           
 void unsetName()
           
 void unsetProgress()
           
 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

name

public String name

runtime

public int runtime

progress

public double progress

metaDataMap

public static final Map<RecoveryStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

RecoveryStatus

public RecoveryStatus()

RecoveryStatus

public RecoveryStatus(String name,
                      int runtime,
                      double progress)

RecoveryStatus

public RecoveryStatus(RecoveryStatus other)
Performs a deep copy on other.

Method Detail

deepCopy

public RecoveryStatus deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

getName

public String getName()

setName

public RecoveryStatus setName(String name)

unsetName

public void unsetName()

isSetName

public boolean isSetName()
Returns true if field name is set (has been assigned a value) and false otherwise


setNameIsSet

public void setNameIsSet(boolean value)

getRuntime

public int getRuntime()

setRuntime

public RecoveryStatus setRuntime(int runtime)

unsetRuntime

public void unsetRuntime()

isSetRuntime

public boolean isSetRuntime()
Returns true if field runtime is set (has been assigned a value) and false otherwise


setRuntimeIsSet

public void setRuntimeIsSet(boolean value)

getProgress

public double getProgress()

setProgress

public RecoveryStatus setProgress(double progress)

unsetProgress

public void unsetProgress()

isSetProgress

public boolean isSetProgress()
Returns true if field progress is set (has been assigned a value) and false otherwise


setProgressIsSet

public void setProgressIsSet(boolean value)

setFieldValue

public void setFieldValue(RecoveryStatus._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

getFieldValue

public Object getFieldValue(RecoveryStatus._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

isSet

public boolean isSet(RecoveryStatus._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(RecoveryStatus that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(RecoveryStatus other)
Specified by:
compareTo in interface Comparable<RecoveryStatus>

fieldForId

public RecoveryStatus._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<RecoveryStatus,RecoveryStatus._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.