Class ActiveCompaction

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

public abstract class ActiveCompaction extends Object
Since:
1.5.0
  • Constructor Details

    • ActiveCompaction

      public ActiveCompaction()
  • Method Details

    • getTable

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

      @Deprecated public abstract KeyExtent getExtent()
      Deprecated.
      since 1.7.0 use getTablet()
      Returns:
      tablet thats is compacting
    • getTablet

      public abstract TabletId getTablet()
      Returns:
      tablet thats is compacting
      Since:
      1.7.0
    • 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