public class TestCompaction.BlockingStoreMockMaker extends StatefulStoreMockMaker
Modifier and Type | Class and Description |
---|---|
class |
TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext |
Modifier and Type | Field and Description |
---|---|
(package private) TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext |
blocked |
Constructor and Description |
---|
BlockingStoreMockMaker() |
Modifier and Type | Method and Description |
---|---|
void |
cancelCompaction(Object object) |
org.apache.hadoop.hbase.regionserver.HStore |
createStoreMock(int priority,
String name) |
org.apache.hadoop.hbase.regionserver.HStore |
createStoreMock(String name) |
int |
getPriority() |
Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> |
selectCompaction() |
TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext |
waitForBlocking() |
public BlockingStoreMockMaker()
public Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> selectCompaction()
selectCompaction
in class StatefulStoreMockMaker
public void cancelCompaction(Object object)
cancelCompaction
in class StatefulStoreMockMaker
public int getPriority()
getPriority
in class StatefulStoreMockMaker
public TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext waitForBlocking()
public org.apache.hadoop.hbase.regionserver.HStore createStoreMock(String name) throws Exception
createStoreMock
in class StatefulStoreMockMaker
Exception
public org.apache.hadoop.hbase.regionserver.HStore createStoreMock(int priority, String name) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.