@InterfaceAudience.Private public interface CompactionRequester
Modifier and Type | Method and Description |
---|---|
void |
requestCompaction(HRegion region,
HStore store,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user)
Request compaction on the given store.
|
void |
requestCompaction(HRegion region,
String why,
int priority,
CompactionLifeCycleTracker tracker,
User user)
Request compaction on all the stores of the given region.
|
void |
requestSystemCompaction(HRegion region,
HStore store,
String why,
boolean giveUpIfRequestedOrCompacting)
Request system compaction on the given store.
|
void |
switchCompaction(boolean onOrOff)
on/off compaction
|
void requestCompaction(HRegion region, String why, int priority, CompactionLifeCycleTracker tracker, @Nullable User user) throws IOException
IOException
void requestCompaction(HRegion region, HStore store, String why, int priority, CompactionLifeCycleTracker tracker, @Nullable User user) throws IOException
IOException
void requestSystemCompaction(HRegion region, HStore store, String why, boolean giveUpIfRequestedOrCompacting) throws IOException
IOException
void switchCompaction(boolean onOrOff)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.