Interface CompactionExecutor
-
- All Known Implementing Classes:
ExternalCompactionExecutor
,InternalCompactionExecutor
public interface CompactionExecutor
A non-pluggable component that executes compactions using multiple threads and has a priority queue. There are two types: Internal and External. TheInternalCompactionExecutor
runs within the Accumulo tserver process. TheExternalCompactionExecutor
runs compactions outside the tserver.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
CompactionExecutor.CType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
compactableClosed(KeyExtent extent)
int
getCompactionsQueued(CompactionExecutor.CType ctype)
int
getCompactionsRunning(CompactionExecutor.CType ctype)
void
stop()
SubmittedJob
submit(CompactionServiceId csid, CompactionJob job, Compactable compactable, Consumer<Compactable> completionCallback)
-
-
-
Method Detail
-
submit
SubmittedJob submit(CompactionServiceId csid, CompactionJob job, Compactable compactable, Consumer<Compactable> completionCallback)
-
getCompactionsRunning
int getCompactionsRunning(CompactionExecutor.CType ctype)
-
getCompactionsQueued
int getCompactionsQueued(CompactionExecutor.CType ctype)
-
stop
void stop()
-
compactableClosed
void compactableClosed(KeyExtent extent)
-
-