Class GCStatus
- java.lang.Object
-
- org.apache.accumulo.core.gc.thrift.GCStatus
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<GCStatus>,org.apache.thrift.TBase<GCStatus,GCStatus._Fields>,org.apache.thrift.TSerializable
public class GCStatus extends Object implements org.apache.thrift.TBase<GCStatus,GCStatus._Fields>, Serializable, Cloneable, Comparable<GCStatus>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCStatus._FieldsThe set of fields this struct contains, along with convenience methods for finding and manipulating them.
-
Field Summary
Fields Modifier and Type Field Description GcCycleStatscurrentGcCycleStatscurrentLogGcCycleStatslastGcCycleStatslastLogstatic Map<GCStatus._Fields,org.apache.thrift.meta_data.FieldMetaData>metaDataMap
-
Constructor Summary
Constructors Constructor Description GCStatus()GCStatus(GcCycleStats last, GcCycleStats lastLog, GcCycleStats current, GcCycleStats currentLog)GCStatus(GCStatus other)Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intcompareTo(GCStatus other)GCStatusdeepCopy()booleanequals(Object that)booleanequals(GCStatus that)GCStatus._FieldsfieldForId(int fieldId)GcCycleStatsgetCurrent()GcCycleStatsgetCurrentLog()ObjectgetFieldValue(GCStatus._Fields field)GcCycleStatsgetLast()GcCycleStatsgetLastLog()inthashCode()booleanisSet(GCStatus._Fields field)Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwisebooleanisSetCurrent()Returns true if field current is set (has been assigned a value) and false otherwisebooleanisSetCurrentLog()Returns true if field currentLog is set (has been assigned a value) and false otherwisebooleanisSetLast()Returns true if field last is set (has been assigned a value) and false otherwisebooleanisSetLastLog()Returns true if field lastLog is set (has been assigned a value) and false otherwisevoidread(org.apache.thrift.protocol.TProtocol iprot)GCStatussetCurrent(GcCycleStats current)voidsetCurrentIsSet(boolean value)GCStatussetCurrentLog(GcCycleStats currentLog)voidsetCurrentLogIsSet(boolean value)voidsetFieldValue(GCStatus._Fields field, Object value)GCStatussetLast(GcCycleStats last)voidsetLastIsSet(boolean value)GCStatussetLastLog(GcCycleStats lastLog)voidsetLastLogIsSet(boolean value)StringtoString()voidunsetCurrent()voidunsetCurrentLog()voidunsetLast()voidunsetLastLog()voidvalidate()voidwrite(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
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:
deepCopyin interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
clear
public void clear()
- Specified by:
clearin interfaceorg.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:
setFieldValuein interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
getFieldValue
public Object getFieldValue(GCStatus._Fields field)
- Specified by:
getFieldValuein interfaceorg.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:
isSetin interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
equals
public boolean equals(GCStatus that)
-
compareTo
public int compareTo(GCStatus other)
- Specified by:
compareToin interfaceComparable<GCStatus>
-
fieldForId
public GCStatus._Fields fieldForId(int fieldId)
- Specified by:
fieldForIdin interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._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
-
-