Class StatefulStoreMockMaker
java.lang.Object
org.apache.hadoop.hbase.regionserver.StatefulStoreMockMaker
- Direct Known Subclasses:
TestCompaction.BlockingStoreMockMaker
,TestCompaction.StoreMockMaker
This class is a helper that allows to create a partially-implemented, stateful mocks of Store. It
contains a bunch of blank methods, and answers redirecting to these.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelCompaction
(Object originalContext) org.apache.hadoop.hbase.regionserver.HStore
createStoreMock
(String name) int
Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext>
-
Constructor Details
-
StatefulStoreMockMaker
public StatefulStoreMockMaker()
-
-
Method Details
-
selectCompaction
public Optional<org.apache.hadoop.hbase.regionserver.compactions.CompactionContext> selectCompaction() -
cancelCompaction
-
getPriority
-
createStoreMock
- Throws:
Exception
-