Class Compacting
- java.lang.Object
-
- org.apache.accumulo.core.master.thrift.Compacting
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Compacting>
,org.apache.thrift.TBase<Compacting,Compacting._Fields>
public class Compacting extends Object implements org.apache.thrift.TBase<Compacting,Compacting._Fields>, Serializable, Cloneable, Comparable<Compacting>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Compacting._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 static Map<Compacting._Fields,org.apache.thrift.meta_data.FieldMetaData>
metaDataMap
int
queued
int
running
-
Constructor Summary
Constructors Constructor Description Compacting()
Compacting(int running, int queued)
Compacting(Compacting other)
Performs a deep copy on other.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
int
compareTo(Compacting other)
Compacting
deepCopy()
boolean
equals(Object that)
boolean
equals(Compacting that)
Compacting._Fields
fieldForId(int fieldId)
Object
getFieldValue(Compacting._Fields field)
int
getQueued()
int
getRunning()
int
hashCode()
boolean
isSet(Compacting._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwiseboolean
isSetQueued()
Returns true if field queued is set (has been assigned a value) and false otherwiseboolean
isSetRunning()
Returns true if field running is set (has been assigned a value) and false otherwisevoid
read(org.apache.thrift.protocol.TProtocol iprot)
void
setFieldValue(Compacting._Fields field, Object value)
Compacting
setQueued(int queued)
void
setQueuedIsSet(boolean value)
Compacting
setRunning(int running)
void
setRunningIsSet(boolean value)
String
toString()
void
unsetQueued()
void
unsetRunning()
void
validate()
void
write(org.apache.thrift.protocol.TProtocol oprot)
-
-
-
Field Detail
-
running
public int running
-
queued
public int queued
-
metaDataMap
public static final Map<Compacting._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
-
-
Constructor Detail
-
Compacting
public Compacting()
-
Compacting
public Compacting(int running, int queued)
-
Compacting
public Compacting(Compacting other)
Performs a deep copy on other.
-
-
Method Detail
-
deepCopy
public Compacting deepCopy()
- Specified by:
deepCopy
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._Fields>
-
clear
public void clear()
- Specified by:
clear
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._Fields>
-
getRunning
public int getRunning()
-
setRunning
public Compacting setRunning(int running)
-
unsetRunning
public void unsetRunning()
-
isSetRunning
public boolean isSetRunning()
Returns true if field running is set (has been assigned a value) and false otherwise
-
setRunningIsSet
public void setRunningIsSet(boolean value)
-
getQueued
public int getQueued()
-
setQueued
public Compacting setQueued(int queued)
-
unsetQueued
public void unsetQueued()
-
isSetQueued
public boolean isSetQueued()
Returns true if field queued is set (has been assigned a value) and false otherwise
-
setQueuedIsSet
public void setQueuedIsSet(boolean value)
-
setFieldValue
public void setFieldValue(Compacting._Fields field, Object value)
- Specified by:
setFieldValue
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._Fields>
-
getFieldValue
public Object getFieldValue(Compacting._Fields field)
- Specified by:
getFieldValue
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._Fields>
-
isSet
public boolean isSet(Compacting._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<Compacting,Compacting._Fields>
-
equals
public boolean equals(Compacting that)
-
compareTo
public int compareTo(Compacting other)
- Specified by:
compareTo
in interfaceComparable<Compacting>
-
fieldForId
public Compacting._Fields fieldForId(int fieldId)
- Specified by:
fieldForId
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._Fields>
-
read
public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException
- Specified by:
read
in interfaceorg.apache.thrift.TBase<Compacting,Compacting._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<Compacting,Compacting._Fields>
- Throws:
org.apache.thrift.TException
-
validate
public void validate() throws org.apache.thrift.TException
- Throws:
org.apache.thrift.TException
-
-