Class CompactionJobImpl
- java.lang.Object
-
- org.apache.accumulo.core.util.compaction.CompactionJobImpl
-
- All Implemented Interfaces:
CompactionJob
public class CompactionJobImpl extends Object implements CompactionJob
An immutable object that describes what files to compact and where to compact them.- Since:
- 2.1.0
- See Also:
org.apache.accumulo.core.spi.compaction
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CompactionExecutorIdgetExecutor()Set<CompactableFile>getFiles()CompactionKindgetKind()longgetPriority()inthashCode()booleanselectedAll()StringtoString()
-
-
-
Method Detail
-
getPriority
public long getPriority()
- Specified by:
getPriorityin interfaceCompactionJob
-
getExecutor
public CompactionExecutorId getExecutor()
- Specified by:
getExecutorin interfaceCompactionJob- Returns:
- The executor to run the job.
-
getFiles
public Set<CompactableFile> getFiles()
- Specified by:
getFilesin interfaceCompactionJob- Returns:
- The files to compact
-
getKind
public CompactionKind getKind()
- Specified by:
getKindin interfaceCompactionJob- Returns:
- The kind of compaction this is.
-
selectedAll
public boolean selectedAll()
-
-