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>
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 class
GCStatus._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 GcCycleStats
current
GcCycleStats
currentLog
GcCycleStats
last
GcCycleStats
lastLog
static 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 void
clear()
int
compareTo(GCStatus other)
GCStatus
deepCopy()
boolean
equals(Object that)
boolean
equals(GCStatus 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 otherwiseboolean
isSetCurrent()
Returns true if field current is set (has been assigned a value) and false otherwiseboolean
isSetCurrentLog()
Returns true if field currentLog is set (has been assigned a value) and false otherwiseboolean
isSetLast()
Returns true if field last is set (has been assigned a value) and false otherwiseboolean
isSetLastLog()
Returns true if field lastLog is set (has been assigned a value) and false otherwisevoid
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)
-
-
-
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 interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
clear
public void clear()
- Specified by:
clear
in 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:
setFieldValue
in interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
getFieldValue
public Object getFieldValue(GCStatus._Fields field)
- Specified by:
getFieldValue
in 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:
isSet
in interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
-
equals
public boolean equals(GCStatus that)
-
compareTo
public int compareTo(GCStatus other)
- Specified by:
compareTo
in interfaceComparable<GCStatus>
-
fieldForId
public GCStatus._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.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 interfaceorg.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 interfaceorg.apache.thrift.TBase<GCStatus,GCStatus._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-