public class TestCoreRegionServerCoprocessor extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TestCoreRegionServerCoprocessor.CoreRegionServerCoprocessor
Annotate with CoreCoprocessor.
|
static class |
TestCoreRegionServerCoprocessor.NotCoreRegionServerCoprocessor
No annotation with CoreCoprocessor.
|
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static HBaseTestingUtility |
HTU |
org.junit.rules.TestName |
name |
private org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost |
rsch |
private org.apache.hadoop.hbase.regionserver.RegionServerServices |
rss |
Constructor and Description |
---|
TestCoreRegionServerCoprocessor() |
Modifier and Type | Method and Description |
---|---|
void |
after() |
void |
before() |
void |
testCoreRegionCoprocessor()
Assert that when a Coprocessor is annotated with CoreCoprocessor, then it is possible to
access a RegionServerServices instance.
|
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
private static final HBaseTestingUtility HTU
private org.apache.hadoop.hbase.regionserver.RegionServerServices rss
private org.apache.hadoop.hbase.regionserver.RegionServerCoprocessorHost rsch
public TestCoreRegionServerCoprocessor()
public void before() throws IOException
IOException
public void after() throws IOException
IOException
public void testCoreRegionCoprocessor() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.