public class TestProcedureSuspended extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestProcedureSuspended.TestLockProcedure |
private static class |
TestProcedureSuspended.TestProcEnv |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private HBaseCommonTestingUtility |
htu |
private static org.slf4j.Logger |
LOG |
private static org.apache.hadoop.hbase.procedure2.Procedure |
NULL_PROC |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureSuspended.TestProcEnv> |
procExecutor |
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore |
procStore |
Constructor and Description |
---|
TestProcedureSuspended() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testSuspendWhileHoldingLocks() |
void |
testYieldWhileHoldingLocks() |
private void |
waitAndAssertTimestamp(TestProcedureSuspended.TestLockProcedure proc,
int size,
int lastTs) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int PROCEDURE_EXECUTOR_SLOTS
private static final org.apache.hadoop.hbase.procedure2.Procedure NULL_PROC
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestProcedureSuspended.TestProcEnv> procExecutor
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore procStore
private HBaseCommonTestingUtility htu
public TestProcedureSuspended()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
public void testSuspendWhileHoldingLocks()
public void testYieldWhileHoldingLocks()
private void waitAndAssertTimestamp(TestProcedureSuspended.TestLockProcedure proc, int size, int lastTs)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.