org.apache.accumulo.core.gc.thrift
Class GCStatus

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

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

See Also:
Serialized Form

Nested Class Summary
static class GCStatus._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 GcCycleStats current
           
 GcCycleStats currentLog
           
 GcCycleStats last
           
 GcCycleStats lastLog
           
static Map<GCStatus._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 
Constructor Summary
GCStatus()
           
GCStatus(GcCycleStats last, GcCycleStats lastLog, GcCycleStats current, GcCycleStats currentLog)
           
GCStatus(GCStatus other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(GCStatus other)
           
 GCStatus deepCopy()
           
 boolean equals(GCStatus that)
           
 boolean equals(Object that)
           
 GCStatus._Fields fieldForId(int fieldId)
           
 GcCycleStats getCurrent()
           
 GcCycleStats getCurrentLog()
           
 Object getFieldValue(GCStatus._Fields field)
           
 GcCycleStats getLast()
           
 GcCycleStats getLastLog()
           
 int hashCode()
           
 boolean isSet(GCStatus._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCurrent()
          Returns true if field current is set (has been assigned a value) and false otherwise
 boolean isSetCurrentLog()
          Returns true if field currentLog is set (has been assigned a value) and false otherwise
 boolean isSetLast()
          Returns true if field last is set (has been assigned a value) and false otherwise
 boolean isSetLastLog()
          Returns true if field lastLog is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 GCStatus setCurrent(GcCycleStats current)
           
 void setCurrentIsSet(boolean value)
           
 GCStatus setCurrentLog(GcCycleStats currentLog)
           
 void setCurrentLogIsSet(boolean value)
           
 void setFieldValue(GCStatus._Fields field, Object value)
           
 GCStatus setLast(GcCycleStats last)
           
 void setLastIsSet(boolean value)
           
 GCStatus setLastLog(GcCycleStats lastLog)
           
 void setLastLogIsSet(boolean value)
           
 String toString()
           
 void unsetCurrent()
           
 void unsetCurrentLog()
           
 void unsetLast()
           
 void unsetLastLog()
           
 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

last

public GcCycleStats last

lastLog

public GcCycleStats lastLog

current

public GcCycleStats current

currentLog

public GcCycleStats currentLog

metaDataMap

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

GCStatus

public GCStatus()

GCStatus

public GCStatus(GcCycleStats last,
                GcCycleStats lastLog,
                GcCycleStats current,
                GcCycleStats currentLog)

GCStatus

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

Method Detail

deepCopy

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

clear

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

getLast

public GcCycleStats getLast()

setLast

public GCStatus setLast(GcCycleStats last)

unsetLast

public void unsetLast()

isSetLast

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


setLastIsSet

public void setLastIsSet(boolean value)

getLastLog

public GcCycleStats getLastLog()

setLastLog

public GCStatus setLastLog(GcCycleStats lastLog)

unsetLastLog

public void unsetLastLog()

isSetLastLog

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


setLastLogIsSet

public void setLastLogIsSet(boolean value)

getCurrent

public GcCycleStats getCurrent()

setCurrent

public GCStatus setCurrent(GcCycleStats current)

unsetCurrent

public void unsetCurrent()

isSetCurrent

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


setCurrentIsSet

public void setCurrentIsSet(boolean value)

getCurrentLog

public GcCycleStats getCurrentLog()

setCurrentLog

public GCStatus setCurrentLog(GcCycleStats currentLog)

unsetCurrentLog

public void unsetCurrentLog()

isSetCurrentLog

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


setCurrentLogIsSet

public void setCurrentLogIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

public boolean isSet(GCStatus._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<GCStatus,GCStatus._Fields>

equals

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

equals

public boolean equals(GCStatus that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public GCStatus._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<GCStatus,GCStatus._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<GCStatus,GCStatus._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<GCStatus,GCStatus._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.