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

java.lang.Object
  extended by org.apache.accumulo.core.client.admin.ActiveCompaction
Direct Known Subclasses:
ActiveCompactionImpl

public abstract class ActiveCompaction
extends Object

Since:
1.5.0

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

Constructor Detail

ActiveCompaction

public ActiveCompaction()
Method Detail

getTable

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

getExtent

public abstract KeyExtent getExtent()
Returns:
tablet thats is compacting

getAge

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

getInputFiles

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

getOutputFile

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

getType

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

getReason

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

getLocalityGroup

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

getEntriesRead

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

getEntriesWritten

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

getIterators

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


Copyright © 2015 Apache Accumulo Project. All rights reserved.