org.apache.accumulo.core.client.admin
Class ActiveCompaction

java.lang.Object
  extended by org.apache.accumulo.core.client.admin.ActiveCompaction

public class ActiveCompaction
extends Object

Since:
1.5.0

Nested Class Summary
static class ActiveCompaction.CompactionReason
           
static class ActiveCompaction.CompactionType
           
 
Method Summary
 long getAge()
           
 long getEntriesRead()
           
 long getEntriesWritten()
           
 KeyExtent getExtent()
           
 List<String> getInputFiles()
           
 List<IteratorSetting> getIterators()
           
 String getLocalityGroup()
           
 String getOutputFile()
           
 ActiveCompaction.CompactionReason getReason()
           
 String getTable()
           
 ActiveCompaction.CompactionType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTable

public String getTable()
                throws TableNotFoundException
Returns:
name of the table the compaction is running against
Throws:
TableNotFoundException

getExtent

public KeyExtent getExtent()
Returns:
tablet thats is compacting

getAge

public long getAge()
Returns:
how long the compaction has been running in milliseconds

getInputFiles

public List<String> getInputFiles()
Returns:
the files the compaction is reading from

getOutputFile

public String getOutputFile()
Returns:
file compactions is writing too

getType

public ActiveCompaction.CompactionType getType()
Returns:
the type of compaction

getReason

public ActiveCompaction.CompactionReason getReason()
Returns:
the reason the compaction was started

getLocalityGroup

public String getLocalityGroup()
Returns:
the locality group that is compacting

getEntriesRead

public long getEntriesRead()
Returns:
the number of key/values read by the compaction

getEntriesWritten

public long getEntriesWritten()
Returns:
the number of key/values written by the compaction

getIterators

public List<IteratorSetting> getIterators()
Returns:
the per compaction iterators configured


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.