public static final class TestMinorCompaction.MyCompactionPolicy extends org.apache.hadoop.hbase.regionserver.compactions.RatioBasedCompactionPolicy
| Constructor and Description | 
|---|
MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf,
                  org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)  | 
| Modifier and Type | Method and Description | 
|---|---|
org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl | 
selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles,
                List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting,
                boolean isUserCompaction,
                boolean mayUseOffPeak,
                boolean forceMajor)  | 
applyCompactionPolicy, createCompactionRequest, needsCompaction, setMinThreshold, shouldPerformMajorCompactioncheckMinFilesCriteria, filterBulk, getCurrentEligibleFiles, getNextMajorCompactTime, preSelectCompactionForCoprocessor, removeExcessFiles, skipLargeFiles, throttleCompactionpublic MyCompactionPolicy(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.StoreConfigInformation storeConfigInfo)
public org.apache.hadoop.hbase.regionserver.compactions.CompactionRequestImpl selectCompaction(Collection<org.apache.hadoop.hbase.regionserver.HStoreFile> candidateFiles, List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException
selectCompaction in class org.apache.hadoop.hbase.regionserver.compactions.SortedCompactionPolicyIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.