@InterfaceAudience.Private public class MemStoreCompactor extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
DEEP_OVERHEAD |
| Constructor and Description |
|---|
MemStoreCompactor(CompactingMemStore compactingMemStore,
MemoryCompactionPolicy compactionPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetStats() |
boolean |
start()
---------------------------------------------------------------------- The request to dispatch
the compaction asynchronous task.
|
void |
stop()
---------------------------------------------------------------------- The request to cancel
the compaction asynchronous task The compaction may still happen if the request was sent too
late Non-blocking request
|
String |
toString() |
public MemStoreCompactor(CompactingMemStore compactingMemStore, MemoryCompactionPolicy compactionPolicy) throws IllegalArgumentIOException
IllegalArgumentIOExceptionpublic boolean start()
throws IOException
IOExceptionpublic void stop()
public void resetStats()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.