@InterfaceAudience.Private public class ExploringCompactionPolicy extends RatioBasedCompactionPolicy
comConf, storeConfigInfo
Constructor and Description |
---|
ExploringCompactionPolicy(org.apache.hadoop.conf.Configuration conf,
StoreConfigInformation storeConfigInfo)
Constructor for ExploringCompactionPolicy.
|
Modifier and Type | Method and Description |
---|---|
List<StoreFile> |
applyCompactionPolicy(List<StoreFile> candidates,
boolean mightBeStuck,
boolean mayUseOffPeak,
int minFiles,
int maxFiles) |
getNextMajorCompactTime, isMajorCompaction, needsCompaction, preSelectCompactionForCoprocessor, selectCompaction, throttleCompaction
getConf, setConf
public ExploringCompactionPolicy(org.apache.hadoop.conf.Configuration conf, StoreConfigInformation storeConfigInfo)
conf
- The configuration objectstoreConfigInfo
- An object to provide info about the store.Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.