public class TestYieldProcedures extends Object
Modifier and Type | Class and Description |
---|---|
private static class |
TestYieldProcedures.TestProcEnv |
private static class |
TestYieldProcedures.TestScheduler |
static class |
TestYieldProcedures.TestStateMachineProcedure |
static class |
TestYieldProcedures.TestYieldProcedure |
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private org.apache.hadoop.fs.FileSystem |
fs |
private HBaseCommonTestingUtility |
htu |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.fs.Path |
logDir |
private static org.apache.hadoop.hbase.procedure2.Procedure |
NULL_PROC |
private static int |
PROCEDURE_EXECUTOR_SLOTS |
private org.apache.hadoop.hbase.procedure2.ProcedureExecutor<TestYieldProcedures.TestProcEnv> |
procExecutor |
private TestYieldProcedures.TestScheduler |
procRunnables |
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore |
procStore |
private org.apache.hadoop.fs.Path |
testDir |
Constructor and Description |
---|
TestYieldProcedures() |
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
tearDown() |
void |
testYieldEachExecutionStep() |
void |
testYieldException() |
void |
testYieldOnInterrupt() |
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<TestYieldProcedures.TestProcEnv> procExecutor
private TestYieldProcedures.TestScheduler procRunnables
private org.apache.hadoop.hbase.procedure2.store.ProcedureStore procStore
private HBaseCommonTestingUtility htu
private org.apache.hadoop.fs.FileSystem fs
private org.apache.hadoop.fs.Path testDir
private org.apache.hadoop.fs.Path logDir
public TestYieldProcedures()
public void setUp() throws IOException
IOException
public void tearDown() throws IOException
IOException
public void testYieldEachExecutionStep() throws Exception
Exception
public void testYieldOnInterrupt() throws Exception
Exception
public void testYieldException()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.