Class TestCompaction.BlockingStoreMockMaker
java.lang.Object
org.apache.hadoop.hbase.regionserver.StatefulStoreMockMaker
org.apache.hadoop.hbase.regionserver.TestCompaction.BlockingStoreMockMaker
- Enclosing class:
- TestCompaction
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
-
Field Summary
Modifier and TypeFieldDescription(package private) TestCompaction.BlockingStoreMockMaker.BlockingCompactionContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelCompaction
(Object object) org.apache.hadoop.hbase.regionserver.HStore
createStoreMock
(int priority, String name) org.apache.hadoop.hbase.regionserver.HStore
createStoreMock
(String name) int
Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext>
-
Field Details
-
blocked
-
-
Constructor Details
-
BlockingStoreMockMaker
public BlockingStoreMockMaker()
-
-
Method Details
-
selectCompaction
public Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> selectCompaction()- Overrides:
selectCompaction
in classStatefulStoreMockMaker
-
cancelCompaction
- Overrides:
cancelCompaction
in classStatefulStoreMockMaker
-
getPriority
- Overrides:
getPriority
in classStatefulStoreMockMaker
-
waitForBlocking
-
createStoreMock
- Overrides:
createStoreMock
in classStatefulStoreMockMaker
- Throws:
Exception
-
createStoreMock
public org.apache.hadoop.hbase.regionserver.HStore createStoreMock(int priority, String name) throws Exception - Throws:
Exception
-