public class TestRegionVisualizer extends Object
Modifier and Type | Field and Description |
---|---|
private static Random |
rand |
private static List<Method> |
regionMetricsBuilderLongValueSetters |
static HBaseClassTestRule |
testRule |
Constructor and Description |
---|
TestRegionVisualizer() |
Modifier and Type | Method and Description |
---|---|
static void |
beforeClass() |
(package private) org.apache.hadoop.hbase.RegionMetrics |
buildRegionMetrics(org.apache.hadoop.hbase.TableName tableName)
Build a
RegionMetrics object for tableName . |
void |
testRegionDetailsJsonSerialization() |
public static final HBaseClassTestRule testRule
private static List<Method> regionMetricsBuilderLongValueSetters
public TestRegionVisualizer()
public static void beforeClass()
public void testRegionDetailsJsonSerialization() throws Exception
Exception
final org.apache.hadoop.hbase.RegionMetrics buildRegionMetrics(org.apache.hadoop.hbase.TableName tableName) throws Exception
RegionMetrics
object for tableName
. Populates a couple random fields
with non-empty values.Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.