Class GcCycleStats
- java.lang.Object
-
- 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
Nested Classes Modifier and Type Class Description static class
GcCycleStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description 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
Constructors Constructor Description GcCycleStats()
GcCycleStats(long started, long finished, long candidates, long inUse, long deleted, long errors)
GcCycleStats(GcCycleStats other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(GcCycleStats other)
GcCycleStats
deepCopy()
boolean
equals(Object that)
boolean
equals(GcCycleStats 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 otherwiseboolean
isSetCandidates()
Returns true if field candidates is set (has been assigned a value) and false otherwiseboolean
isSetDeleted()
Returns true if field deleted is set (has been assigned a value) and false otherwiseboolean
isSetErrors()
Returns true if field errors is set (has been assigned a value) and false otherwiseboolean
isSetFinished()
Returns true if field finished is set (has been assigned a value) and false otherwiseboolean
isSetInUse()
Returns true if field inUse is set (has been assigned a value) and false otherwiseboolean
isSetStarted()
Returns true if field started is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
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 interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.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 interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
getFieldValue
public Object getFieldValue(GcCycleStats._Fields field)
- Specified by:
getFieldValue
in interfaceorg.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 interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
equals
public boolean equals(GcCycleStats that)
-
compareTo
public int compareTo(GcCycleStats other)
- Specified by:
compareTo
in interfaceComparable<GcCycleStats>
-
fieldForId
public GcCycleStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.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 interfaceorg.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 interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-