public class EverythingPolicy extends org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
Constructor and Description |
---|
EverythingPolicy(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> |
applyCompactionPolicy(ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates,
boolean mayUseOffPeak,
boolean mayBeStuck) |
createCompactionRequest, needsCompaction, setMinThreshold, shouldPerformMajorCompaction
checkMinFilesCriteria, filterBulk, getCurrentEligibleFiles, getNextMajorCompactTime, preSelectCompactionForCoprocessor, removeExcessFiles, selectCompaction, skipLargeFiles, throttleCompaction
public EverythingPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
conf
- The Conf.storeConfigInfo
- Info about the store.protected final ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> applyCompactionPolicy(ArrayList<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, boolean mayUseOffPeak, boolean mayBeStuck) throws IOException
applyCompactionPolicy
in class org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.