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

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

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

See Also:
Serialized Form

Nested Class Summary
static class GcCycleStats._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 long candidates
           
 long deleted
           
 long errors
           
 long finished
           
 long inUse
           
static Map<GcCycleStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 long started
           
 
Constructor Summary
GcCycleStats()
           
GcCycleStats(GcCycleStats other)
          Performs a deep copy on other.
GcCycleStats(long started, long finished, long candidates, long inUse, long deleted, long errors)
           
 
Method Summary
 void clear()
           
 int compareTo(GcCycleStats other)
           
 GcCycleStats deepCopy()
           
 boolean equals(GcCycleStats that)
           
 boolean equals(Object that)
           
 GcCycleStats._Fields fieldForId(int fieldId)
           
 long getCandidates()
           
 long getDeleted()
           
 long getErrors()
           
 Object getFieldValue(GcCycleStats._Fields field)
           
 long getFinished()
           
 long getInUse()
           
 long getStarted()
           
 int hashCode()
           
 boolean isSet(GcCycleStats._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetCandidates()
          Returns true if field candidates is set (has been assigned a value) and false otherwise
 boolean isSetDeleted()
          Returns true if field deleted is set (has been assigned a value) and false otherwise
 boolean isSetErrors()
          Returns true if field errors is set (has been assigned a value) and false otherwise
 boolean isSetFinished()
          Returns true if field finished is set (has been assigned a value) and false otherwise
 boolean isSetInUse()
          Returns true if field inUse is set (has been assigned a value) and false otherwise
 boolean isSetStarted()
          Returns true if field started is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 GcCycleStats setCandidates(long candidates)
           
 void setCandidatesIsSet(boolean value)
           
 GcCycleStats setDeleted(long deleted)
           
 void setDeletedIsSet(boolean value)
           
 GcCycleStats setErrors(long errors)
           
 void setErrorsIsSet(boolean value)
           
 void setFieldValue(GcCycleStats._Fields field, Object value)
           
 GcCycleStats setFinished(long finished)
           
 void setFinishedIsSet(boolean value)
           
 GcCycleStats setInUse(long inUse)
           
 void setInUseIsSet(boolean value)
           
 GcCycleStats setStarted(long started)
           
 void setStartedIsSet(boolean value)
           
 String toString()
           
 void unsetCandidates()
           
 void unsetDeleted()
           
 void unsetErrors()
           
 void unsetFinished()
           
 void unsetInUse()
           
 void unsetStarted()
           
 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

started

public long started

finished

public long finished

candidates

public long candidates

inUse

public long inUse

deleted

public long deleted

errors

public long errors

metaDataMap

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

GcCycleStats

public GcCycleStats()

GcCycleStats

public GcCycleStats(long started,
                    long finished,
                    long candidates,
                    long inUse,
                    long deleted,
                    long errors)

GcCycleStats

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

Method Detail

deepCopy

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

clear

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

getStarted

public long getStarted()

setStarted

public GcCycleStats setStarted(long started)

unsetStarted

public void unsetStarted()

isSetStarted

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


setStartedIsSet

public void setStartedIsSet(boolean value)

getFinished

public long getFinished()

setFinished

public GcCycleStats setFinished(long finished)

unsetFinished

public void unsetFinished()

isSetFinished

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


setFinishedIsSet

public void setFinishedIsSet(boolean value)

getCandidates

public long getCandidates()

setCandidates

public GcCycleStats setCandidates(long candidates)

unsetCandidates

public void unsetCandidates()

isSetCandidates

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


setCandidatesIsSet

public void setCandidatesIsSet(boolean value)

getInUse

public long getInUse()

setInUse

public GcCycleStats setInUse(long inUse)

unsetInUse

public void unsetInUse()

isSetInUse

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


setInUseIsSet

public void setInUseIsSet(boolean value)

getDeleted

public long getDeleted()

setDeleted

public GcCycleStats setDeleted(long deleted)

unsetDeleted

public void unsetDeleted()

isSetDeleted

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


setDeletedIsSet

public void setDeletedIsSet(boolean value)

getErrors

public long getErrors()

setErrors

public GcCycleStats setErrors(long errors)

unsetErrors

public void unsetErrors()

isSetErrors

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


setErrorsIsSet

public void setErrorsIsSet(boolean value)

setFieldValue

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

getFieldValue

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

isSet

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

equals

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

equals

public boolean equals(GcCycleStats that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

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

fieldForId

public GcCycleStats._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._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<GcCycleStats,GcCycleStats._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<GcCycleStats,GcCycleStats._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 © 2015 Apache Accumulo Project. All rights reserved.