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 classActiveCompaction.CompactionReasonstatic classActiveCompaction.CompactionType
-
Constructor Summary
Constructors Constructor Description ActiveCompaction()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract longgetAge()abstract longgetEntriesRead()abstract longgetEntriesWritten()abstract List<String>getInputFiles()abstract List<IteratorSetting>getIterators()abstract StringgetLocalityGroup()abstract StringgetOutputFile()abstract ActiveCompaction.CompactionReasongetReason()abstract StringgetTable()abstract TabletIdgetTablet()abstract ActiveCompaction.CompactionTypegetType()
-
-
-
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
-
-