public class TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext extends org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
Modifier and Type | Field and Description |
---|---|
boolean |
isInCompact |
Constructor and Description |
---|
BlockingCompactionContext() |
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> f,
boolean i,
boolean m,
boolean e) |
void |
unblock() |
public volatile boolean isInCompact
public BlockingCompactionContext()
public void unblock()
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
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> f, boolean i, boolean m, boolean e) throws IOException
select
in class org.apache.hadoop.hbase.regionserver.compactions.CompactionContext
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.