org.apache.accumulo.core.client.impl
Class ActiveCompactionImpl
java.lang.Object
org.apache.accumulo.core.client.admin.ActiveCompaction
org.apache.accumulo.core.client.impl.ActiveCompactionImpl
public class ActiveCompactionImpl
- extends ActiveCompaction
- Since:
- 1.6.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getTable
public String getTable()
throws TableNotFoundException
- Specified by:
getTable
in class ActiveCompaction
- Returns:
- name of the table the compaction is running against
- Throws:
TableNotFoundException
getExtent
public KeyExtent getExtent()
- Specified by:
getExtent
in class ActiveCompaction
- Returns:
- tablet thats is compacting
getAge
public long getAge()
- Specified by:
getAge
in class ActiveCompaction
- Returns:
- how long the compaction has been running in milliseconds
getInputFiles
public List<String> getInputFiles()
- Specified by:
getInputFiles
in class ActiveCompaction
- Returns:
- the files the compaction is reading from
getOutputFile
public String getOutputFile()
- Specified by:
getOutputFile
in class ActiveCompaction
- Returns:
- file compactions is writing too
getType
public ActiveCompaction.CompactionType getType()
- Specified by:
getType
in class ActiveCompaction
- Returns:
- the type of compaction
getReason
public ActiveCompaction.CompactionReason getReason()
- Specified by:
getReason
in class ActiveCompaction
- Returns:
- the reason the compaction was started
getLocalityGroup
public String getLocalityGroup()
- Specified by:
getLocalityGroup
in class ActiveCompaction
- Returns:
- the locality group that is compacting
getEntriesRead
public long getEntriesRead()
- Specified by:
getEntriesRead
in class ActiveCompaction
- Returns:
- the number of key/values read by the compaction
getEntriesWritten
public long getEntriesWritten()
- Specified by:
getEntriesWritten
in class ActiveCompaction
- Returns:
- the number of key/values written by the compaction
getIterators
public List<IteratorSetting> getIterators()
- Specified by:
getIterators
in class ActiveCompaction
- Returns:
- the per compaction iterators configured
Copyright © 2015 Apache Accumulo Project. All rights reserved.