public class TestCoreRegionCoprocessor extends Object
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
TestCoreRegionCoprocessor.CoreRegionCoprocessor
Annotate with CoreCoprocessor. 
 | 
static class  | 
TestCoreRegionCoprocessor.NotCoreRegionCoprocessor
No annotation with CoreCoprocessor. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static HBaseClassTestRule | 
CLASS_RULE  | 
(package private) HBaseTestingUtility | 
HTU  | 
org.junit.rules.TestName | 
name  | 
private org.apache.hadoop.hbase.regionserver.HRegion | 
region  | 
private org.apache.hadoop.hbase.regionserver.RegionServerServices | 
rss  | 
| Constructor and Description | 
|---|
TestCoreRegionCoprocessor()  | 
| 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 org.apache.hadoop.hbase.regionserver.HRegion region
private org.apache.hadoop.hbase.regionserver.RegionServerServices rss
public TestCoreRegionCoprocessor()
public void before() throws IOException
IOExceptionpublic void after() throws IOException
IOExceptionpublic void testCoreRegionCoprocessor() throws IOException
IOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.