public class TestCompaction.StoreMockMaker.TestCompactionContext extends org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
Modifier and Type | Field and Description |
---|---|
private List<org.apache.hadoop.hbase.regionserver.HStoreFile> |
selectedFiles |
Constructor and Description |
---|
TestCompactionContext(List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.fs.Path> |
compact(org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController,
org.apache.hadoop.hbase.security.User user) |
List<org.apache.hadoop.hbase.regionserver.HStoreFile> |
preSelect(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting) |
boolean |
select(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting,
boolean isUserCompaction,
boolean mayUseOffPeak,
boolean forceMajor) |
private List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles
public TestCompactionContext(List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles)
public List<org.apache.hadoop.hbase.regionserver.HStoreFile> preSelect(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting)
preSelect
in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
public boolean select(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException
select
in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
IOException
public List<org.apache.hadoop.fs.Path> compact(org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.security.User user) throws IOException
compact
in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.