public class Compactor extends Object implements Callable<CompactionStats>
| Modifier and Type | Class and Description |
|---|---|
static class |
Compactor.CompactionCanceledException |
static interface |
Compactor.CompactionEnv |
| Modifier and Type | Field and Description |
|---|---|
protected KeyExtent |
extent |
protected static Set<Compactor> |
runningCompactions |
protected Thread |
thread |
| Constructor and Description |
|---|
Compactor(AccumuloServerContext context,
Tablet tablet,
Map<FileRef,DataFileValue> files,
InMemoryMap imm,
FileRef outputFile,
boolean propogateDeletes,
Compactor.CompactionEnv env,
List<IteratorSetting> iterators,
int reason,
AccumuloConfiguration tableConfiguation) |
| Modifier and Type | Method and Description |
|---|---|
CompactionStats |
call() |
long |
getCompactorID() |
String |
getCurrentLocalityGroup() |
VolumeManager |
getFileSystem() |
static List<CompactionInfo> |
getRunningCompactions() |
public Compactor(AccumuloServerContext context, Tablet tablet, Map<FileRef,DataFileValue> files, InMemoryMap imm, FileRef outputFile, boolean propogateDeletes, Compactor.CompactionEnv env, List<IteratorSetting> iterators, int reason, AccumuloConfiguration tableConfiguation)
public long getCompactorID()
public String getCurrentLocalityGroup()
public static List<CompactionInfo> getRunningCompactions()
public VolumeManager getFileSystem()
public CompactionStats call() throws IOException, Compactor.CompactionCanceledException
call in interface Callable<CompactionStats>IOExceptionCompactor.CompactionCanceledExceptionCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.