public class TestRegionServerMetrics extends Object
| Modifier and Type | Field and Description |
|---|---|
static HBaseClassTestRule |
CLASS_RULE |
org.junit.rules.TestName |
testName |
| Constructor and Description |
|---|
TestRegionServerMetrics() |
| Modifier and Type | Method and Description |
|---|---|
static void |
after() |
void |
afterTestMethod() |
void |
assertCounter(String metric,
long expectedValue) |
void |
assertGauge(String metric,
long expectedValue) |
void |
assertRegionMetrics(String metric,
long expectedValue) |
void |
beforeTestMethod() |
void |
doNGets(int n,
boolean batch) |
void |
doNPuts(int n,
boolean batch) |
void |
doScan(int n,
boolean caching) |
static void |
startCluster() |
void |
testAppend() |
void |
testAverageRegionSize() |
void |
testCheckAndPutCount() |
void |
testGet() |
void |
testIncrement() |
void |
testLocalFiles() |
void |
testMobMetrics() |
void |
testMutationsWithoutWal() |
void |
testRangeCountMetrics() |
void |
testRegionCount() |
void |
testRequestCount() |
void |
testScanSize() |
void |
testScanSizeForSmallScan() |
void |
testScanTime() |
void |
testStoreCount() |
void |
testStoreFileAge() |
void |
waitTableDeleted(TableName name,
long timeoutInMillis) |
public static final HBaseClassTestRule CLASS_RULE
public org.junit.rules.TestName testName
public TestRegionServerMetrics()
public static void startCluster() throws Exception
Exceptionpublic void beforeTestMethod() throws Exception
Exceptionpublic void afterTestMethod() throws Exception
Exceptionpublic void waitTableDeleted(TableName name, long timeoutInMillis) throws Exception
Exceptionpublic void assertCounter(String metric, long expectedValue)
public void assertGauge(String metric, long expectedValue)
public void assertRegionMetrics(String metric, long expectedValue) throws Exception
Exceptionpublic void doScan(int n, boolean caching) throws IOException
IOExceptionpublic void testRegionCount() throws Exception
Exceptionpublic void testLocalFiles() throws Exception
Exceptionpublic void testRequestCount() throws Exception
Exceptionpublic void testMutationsWithoutWal() throws Exception
Exceptionpublic void testStoreCount() throws Exception
Exceptionpublic void testStoreFileAge() throws Exception
Exceptionpublic void testCheckAndPutCount() throws Exception
Exceptionpublic void testIncrement() throws Exception
Exceptionpublic void testAppend() throws Exception
Exceptionpublic void testScanSize() throws Exception
Exceptionpublic void testScanTime() throws Exception
Exceptionpublic void testScanSizeForSmallScan() throws Exception
Exceptionpublic void testMobMetrics() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic void testRangeCountMetrics() throws Exception
Exceptionpublic void testAverageRegionSize() throws Exception
ExceptionCopyright © 2007–2019 Cloudera. All rights reserved.