@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
IllegalArgumentIOException
public boolean start() throws IOException
IOException
public void stop()
public void resetStats()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.