Class TestCompaction.StoreMockMaker.TestCompactionContext
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
org.apache.hadoop.hbase.regionserver.TestCompaction.StoreMockMaker.TestCompactionContext
- Enclosing class:
- TestCompaction.StoreMockMaker
public class TestCompaction.StoreMockMaker.TestCompactionContext
extends org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
request
-
Constructor Summary
ConstructorDescriptionTestCompactionContext
(List<org.apache.hadoop.hbase.regionserver.HStoreFile> selectedFiles) -
Method Summary
Modifier and TypeMethodDescriptionList<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>
boolean
select
(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
forceSelect, getRequest, hasSelection
-
Field Details
-
selectedFiles
-
-
Constructor Details
-
TestCompactionContext
-
-
Method Details
-
preSelect
public List<org.apache.hadoop.hbase.regionserver.HStoreFile> preSelect(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting) - Specified by:
preSelect
in classorg.apache.hadoop.hbase.regionserver.compactions.CompactionContext
-
select
public boolean select(List<org.apache.hadoop.hbase.regionserver.HStoreFile> filesCompacting, boolean isUserCompaction, boolean mayUseOffPeak, boolean forceMajor) throws IOException - Specified by:
select
in classorg.apache.hadoop.hbase.regionserver.compactions.CompactionContext
- Throws:
IOException
-
compact
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 - Specified by:
compact
in classorg.apache.hadoop.hbase.regionserver.compactions.CompactionContext
- Throws:
IOException
-