Class TestProcedureSuspended
java.lang.Object
org.apache.hadoop.hbase.procedure2.TestProcedureSuspended
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private HBaseCommonTestingUtility
private static final org.slf4j.Logger
private static final org.apache.hadoop.hbase.procedure2.Procedure
private static final int
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureSuspended.TestProcEnv>
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
void
tearDown()
void
void
private void
waitAndAssertTimestamp
(TestProcedureSuspended.TestLockProcedure proc, int size, int lastTs)
-
Field Details
-
CLASS_RULE
-
LOG
-
PROCEDURE_EXECUTOR_SLOTS
- See Also:
-
NULL_PROC
-
procExecutor
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureSuspended.TestProcEnv> procExecutor -
procStore
-
htu
-
-
Constructor Details
-
TestProcedureSuspended
public TestProcedureSuspended()
-
-
Method Details
-
setUp
- Throws:
IOException
-
tearDown
- Throws:
IOException
-
testSuspendWhileHoldingLocks
-
testYieldWhileHoldingLocks
-
waitAndAssertTimestamp
private void waitAndAssertTimestamp(TestProcedureSuspended.TestLockProcedure proc, int size, int lastTs)
-