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>,org.apache.thrift.TSerializable
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 classGcCycleStats._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description longcandidateslongdeletedlongerrorslongfinishedlonginUsestatic Map<GcCycleStats._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMaplongstarted
-
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 voidclear()intcompareTo(GcCycleStats other)GcCycleStatsdeepCopy()booleanequals(Object that)booleanequals(GcCycleStats that)GcCycleStats._FieldsfieldForId(int fieldId)longgetCandidates()longgetDeleted()longgetErrors()ObjectgetFieldValue(GcCycleStats._Fields field)longgetFinished()longgetInUse()longgetStarted()inthashCode()booleanisSet(GcCycleStats._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCandidates()Returns true if field candidates is set (has been assigned a value) and false otherwisebooleanisSetDeleted()Returns true if field deleted is set (has been assigned a value) and false otherwisebooleanisSetErrors()Returns true if field errors is set (has been assigned a value) and false otherwisebooleanisSetFinished()Returns true if field finished is set (has been assigned a value) and false otherwisebooleanisSetInUse()Returns true if field inUse is set (has been assigned a value) and false otherwisebooleanisSetStarted()Returns true if field started is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)GcCycleStatssetCandidates(long candidates)voidsetCandidatesIsSet(boolean value)GcCycleStatssetDeleted(long deleted)voidsetDeletedIsSet(boolean value)GcCycleStatssetErrors(long errors)voidsetErrorsIsSet(boolean value)voidsetFieldValue(GcCycleStats._Fields field, Object value)GcCycleStatssetFinished(long finished)voidsetFinishedIsSet(boolean value)GcCycleStatssetInUse(long inUse)voidsetInUseIsSet(boolean value)GcCycleStatssetStarted(long started)voidsetStartedIsSet(boolean value)StringtoString()voidunsetCandidates()voidunsetDeleted()voidunsetErrors()voidunsetFinished()voidunsetInUse()voidunsetStarted()voidvalidate()voidwrite(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:
deepCopyin interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
clear
public void clear()
- Specified by:
clearin 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:
setFieldValuein interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
getFieldValue
public Object getFieldValue(GcCycleStats._Fields field)
- Specified by:
getFieldValuein 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:
isSetin interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
equals
public boolean equals(GcCycleStats that)
-
compareTo
public int compareTo(GcCycleStats other)
- Specified by:
compareToin interfaceComparable<GcCycleStats>
-
fieldForId
public GcCycleStats._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException- Specified by:
readin interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
write
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException- Specified by:
writein interfaceorg.apache.thrift.TSerializable- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException- Throws:
org.apache.thrift.TException
-
-