Class ActiveCompaction
- java.lang.Object
-
- org.apache.accumulo.core.client.admin.ActiveCompaction
-
- Direct Known Subclasses:
ActiveCompactionImpl
public abstract class ActiveCompaction extends Object
- Since:
- 1.5.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActiveCompaction.CompactionReason
static class
ActiveCompaction.CompactionType
-
Constructor Summary
Constructors Constructor Description ActiveCompaction()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract long
getAge()
abstract long
getEntriesRead()
abstract long
getEntriesWritten()
abstract List<String>
getInputFiles()
abstract List<IteratorSetting>
getIterators()
abstract String
getLocalityGroup()
abstract String
getOutputFile()
abstract ActiveCompaction.CompactionReason
getReason()
abstract String
getTable()
abstract TabletId
getTablet()
abstract ActiveCompaction.CompactionType
getType()
-
-
-
Method Detail
-
getTable
public abstract String getTable() throws TableNotFoundException
- Returns:
- name of the table the compaction is running against
- Throws:
TableNotFoundException
-
getTablet
public abstract TabletId getTablet()
- Returns:
- tablet that 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
-
-