Class ActiveCompactionImpl
- java.lang.Object
-
- org.apache.accumulo.core.client.admin.ActiveCompaction
-
- org.apache.accumulo.core.clientImpl.ActiveCompactionImpl
-
public class ActiveCompactionImpl extends ActiveCompaction
- Since:
- 1.6.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.accumulo.core.client.admin.ActiveCompaction
ActiveCompaction.CompactionHost, ActiveCompaction.CompactionReason, ActiveCompaction.CompactionType
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getAge()
long
getEntriesRead()
long
getEntriesWritten()
ActiveCompaction.CompactionHost
getHost()
Return the host where the compaction is running.List<String>
getInputFiles()
List<IteratorSetting>
getIterators()
String
getLocalityGroup()
String
getOutputFile()
ActiveCompaction.CompactionReason
getReason()
String
getTable()
TabletId
getTablet()
ActiveCompaction.CompactionType
getType()
-
-
-
Method Detail
-
getTable
public String getTable() throws TableNotFoundException
- Specified by:
getTable
in classActiveCompaction
- Returns:
- name of the table the compaction is running against
- Throws:
TableNotFoundException
-
getTablet
public TabletId getTablet()
- Specified by:
getTablet
in classActiveCompaction
- Returns:
- tablet that is compacting
-
getAge
public long getAge()
- Specified by:
getAge
in classActiveCompaction
- Returns:
- how long the compaction has been running in milliseconds
-
getInputFiles
public List<String> getInputFiles()
- Specified by:
getInputFiles
in classActiveCompaction
- Returns:
- the files the compaction is reading from
-
getOutputFile
public String getOutputFile()
- Specified by:
getOutputFile
in classActiveCompaction
- Returns:
- file compactions is writing too
-
getType
public ActiveCompaction.CompactionType getType()
- Specified by:
getType
in classActiveCompaction
- Returns:
- the type of compaction
-
getReason
public ActiveCompaction.CompactionReason getReason()
- Specified by:
getReason
in classActiveCompaction
- Returns:
- the reason the compaction was started
-
getLocalityGroup
public String getLocalityGroup()
- Specified by:
getLocalityGroup
in classActiveCompaction
- Returns:
- the locality group that is compacting
-
getEntriesRead
public long getEntriesRead()
- Specified by:
getEntriesRead
in classActiveCompaction
- Returns:
- the number of key/values read by the compaction
-
getEntriesWritten
public long getEntriesWritten()
- Specified by:
getEntriesWritten
in classActiveCompaction
- Returns:
- the number of key/values written by the compaction
-
getIterators
public List<IteratorSetting> getIterators()
- Specified by:
getIterators
in classActiveCompaction
- Returns:
- the per compaction iterators configured
-
getHost
public ActiveCompaction.CompactionHost getHost()
Description copied from class:ActiveCompaction
Return the host where the compaction is running.- Specified by:
getHost
in classActiveCompaction
-
-