public class TestMetricsJvm extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf |
private static HBaseTestingUtil |
UTIL |
Constructor and Description |
---|
TestMetricsJvm() |
Modifier and Type | Method and Description |
---|---|
static void |
after() |
private void |
assertNotFind(String re,
String value) |
private void |
assertReFind(String re,
String value) |
static void |
before() |
private org.apache.hadoop.hbase.util.Pair<Integer,String> |
getJmxPage(String query) |
private org.apache.hadoop.hbase.util.Pair<Integer,String> |
getUrlContent(URL url) |
void |
testJvmMetrics() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtil UTIL
private static org.apache.hadoop.conf.Configuration conf
public TestMetricsJvm()
public void testJvmMetrics() throws Exception
Exception
private org.apache.hadoop.hbase.util.Pair<Integer,String> getJmxPage(String query) throws Exception
Exception
private org.apache.hadoop.hbase.util.Pair<Integer,String> getUrlContent(URL url) throws Exception
Exception
private void assertReFind(String re, String value)
private void assertNotFind(String re, String value)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.