public class TestCoprocessorMetrics extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TestCoprocessorMetrics.CustomMasterObserver
MasterObserver that has a Timer metric for create table operation.
|
static class |
TestCoprocessorMetrics.CustomRegionEndpoint
RegionEndpoint to test metrics from endpoint calls
|
static class |
TestCoprocessorMetrics.CustomRegionObserver
RegionObserver that has a Counter for preGet()
|
static class |
TestCoprocessorMetrics.CustomRegionObserver2 |
static class |
TestCoprocessorMetrics.CustomRegionServerObserver
RegionServerObserver that has a Counter for rollWAL requests.
|
static class |
TestCoprocessorMetrics.CustomWALObserver
WALObserver that has a Counter for walEdits written.
|
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
name |
| Constructor and Description |
|---|
TestCoprocessorMetrics() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup() |
static void |
setupBeforeClass() |
static void |
teardownAfterClass() |
void |
testMasterObserver() |
void |
testRegionObserverAfterRegionClosed() |
void |
testRegionObserverEndpoint() |
void |
testRegionObserverMultiCoprocessor() |
void |
testRegionObserverMultiRegion() |
void |
testRegionObserverMultiTable() |
void |
testRegionObserverSingleRegion() |
void |
testRegionServerObserver() |
void |
testWALObserver() |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName name
public TestCoprocessorMetrics()
public static void setupBeforeClass() throws Exception
Exceptionpublic static void teardownAfterClass() throws Exception
Exceptionpublic void setup() throws IOException
IOExceptionpublic void testMasterObserver() throws IOException
IOExceptionpublic void testRegionServerObserver() throws IOException
IOExceptionpublic void testWALObserver() throws IOException
IOExceptionpublic void testRegionObserverSingleRegion() throws IOException
IOExceptionpublic void testRegionObserverMultiRegion() throws IOException
IOExceptionpublic void testRegionObserverMultiTable() throws IOException
IOExceptionpublic void testRegionObserverMultiCoprocessor() throws IOException
IOExceptionpublic void testRegionObserverAfterRegionClosed() throws IOException
IOExceptionpublic void testRegionObserverEndpoint() throws IOException, ServiceException
IOExceptionServiceExceptionCopyright © 2007–2019 Cloudera. All rights reserved.