Class ActiveCompaction
java.lang.Object
org.apache.accumulo.core.client.admin.ActiveCompaction
- Since:
- 1.5.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static enum
static enum
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract long
getAge()
abstract long
abstract long
abstract ActiveCompaction.CompactionHost
getHost()
Return the host where the compaction is running.abstract List<IteratorSetting>
abstract String
abstract String
abstract long
abstract ActiveCompaction.CompactionReason
abstract String
getTable()
abstract TabletId
abstract ActiveCompaction.CompactionType
getType()
-
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
-