org.apache.accumulo.core.master.thrift
Class Compacting

java.lang.Object
  extended by 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

See Also:
Serialized Form

Nested Class Summary
static class Compacting._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
static Map<Compacting._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 int queued
           
 int running
           
 
Constructor Summary
Compacting()
           
Compacting(Compacting other)
          Performs a deep copy on other.
Compacting(int running, int queued)
           
 
Method Summary
 void clear()
           
 int compareTo(Compacting other)
           
 Compacting deepCopy()
           
 boolean equals(Compacting that)
           
 boolean equals(Object 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 otherwise
 boolean isSetQueued()
          Returns true if field queued is set (has been assigned a value) and false otherwise
 boolean isSetRunning()
          Returns true if field running is set (has been assigned a value) and false otherwise
 void 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)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 interface org.apache.thrift.TBase<Compacting,Compacting._Fields>

clear

public void clear()
Specified by:
clear in interface org.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 interface org.apache.thrift.TBase<Compacting,Compacting._Fields>

getFieldValue

public Object getFieldValue(Compacting._Fields field)
Specified by:
getFieldValue in interface org.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 interface org.apache.thrift.TBase<Compacting,Compacting._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(Compacting that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Compacting other)
Specified by:
compareTo in interface Comparable<Compacting>

fieldForId

public Compacting._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.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 interface org.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 interface org.apache.thrift.TBase<Compacting,Compacting._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.