public class GcCycleStats extends Object implements org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>, Serializable, Cloneable, Comparable<GcCycleStats>
Modifier and Type | Class and Description |
---|---|
static class |
GcCycleStats._Fields
The set of fields this struct contains, along with convenience methods for finding and manipulating them.
|
Modifier and Type | Field and 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 and Description |
---|
GcCycleStats() |
GcCycleStats(GcCycleStats other)
Performs a deep copy on other.
|
GcCycleStats(long started,
long finished,
long candidates,
long inUse,
long deleted,
long errors) |
Modifier and Type | Method and Description |
---|---|
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) |
public long started
public long finished
public long candidates
public long inUse
public long deleted
public long errors
public static final Map<GcCycleStats._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
public GcCycleStats()
public GcCycleStats(long started, long finished, long candidates, long inUse, long deleted, long errors)
public GcCycleStats(GcCycleStats other)
public GcCycleStats deepCopy()
deepCopy
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public void clear()
clear
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public long getStarted()
public GcCycleStats setStarted(long started)
public void unsetStarted()
public boolean isSetStarted()
public void setStartedIsSet(boolean value)
public long getFinished()
public GcCycleStats setFinished(long finished)
public void unsetFinished()
public boolean isSetFinished()
public void setFinishedIsSet(boolean value)
public long getCandidates()
public GcCycleStats setCandidates(long candidates)
public void unsetCandidates()
public boolean isSetCandidates()
public void setCandidatesIsSet(boolean value)
public long getInUse()
public GcCycleStats setInUse(long inUse)
public void unsetInUse()
public boolean isSetInUse()
public void setInUseIsSet(boolean value)
public long getDeleted()
public GcCycleStats setDeleted(long deleted)
public void unsetDeleted()
public boolean isSetDeleted()
public void setDeletedIsSet(boolean value)
public long getErrors()
public GcCycleStats setErrors(long errors)
public void unsetErrors()
public boolean isSetErrors()
public void setErrorsIsSet(boolean value)
public void setFieldValue(GcCycleStats._Fields field, Object value)
setFieldValue
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public Object getFieldValue(GcCycleStats._Fields field)
getFieldValue
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public boolean isSet(GcCycleStats._Fields field)
isSet
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public boolean equals(GcCycleStats that)
public int compareTo(GcCycleStats other)
compareTo
in interface Comparable<GcCycleStats>
public GcCycleStats._Fields fieldForId(int fieldId)
fieldForId
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
read
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
org.apache.thrift.TException
public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException
write
in interface org.apache.thrift.TBase<GcCycleStats,GcCycleStats._Fields>
org.apache.thrift.TException
public void validate() throws org.apache.thrift.TException
org.apache.thrift.TException
Copyright © 2011–2016 The Apache Software Foundation. All rights reserved.