Class ActiveCompaction
java.lang.Object
org.apache.accumulo.core.client.admin.ActiveCompaction
- Since:
- 1.5.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enumstatic enum -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longgetAge()abstract longabstract longabstract ActiveCompaction.CompactionHostgetHost()Return the host where the compaction is running.abstract List<IteratorSetting>abstract Stringabstract Stringabstract longabstract ActiveCompaction.CompactionReasonabstract StringgetTable()abstract TabletIdabstract ActiveCompaction.CompactionTypegetType()
-
Constructor Details
-
ActiveCompaction
public ActiveCompaction()
-
-
Method Details
-
getTable
- Returns:
- name of the table the compaction is running against
- Throws:
TableNotFoundException
-
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
- Returns:
- the files the compaction is reading from
-
getOutputFile
- Returns:
- file compactions is writing too
-
getType
- Returns:
- the type of compaction
-
getReason
- Returns:
- the reason the compaction was started
-
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
-
getPausedCount
public abstract long getPausedCount()- Returns:
- the number of times the server paused a compaction
- Since:
- 3.0.0
-
getIterators
- Returns:
- the per compaction iterators configured
-
getHost
Return the host where the compaction is running.- Since:
- 2.1.0
-