Class TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
org.apache.hadoop.hbase.regionserver.TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext
- Enclosing class:
- TestCompaction.BlockingStoreMockMaker
public class TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext
extends org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
request
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
forceSelect, getRequest, hasSelection
-
Field Details
-
isInCompact
-
-
Constructor Details
-
BlockingCompactionContext
public BlockingCompactionContext()
-
-
Method Details
-
unblock
-
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
-
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> f, boolean i, boolean m, boolean e) throws IOException - Specified by:
select
in classorg.apache.hadoop.hbase.regionserver.compactions.CompactionContext
- Throws:
IOException
-