public class TestMetricsTableAggregate extends Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.hadoop.hbase.regionserver.MetricsTableAggregateSource |
agg |
static HBaseClassTestRule |
CLASS_RULE |
private static MetricsAssertHelper |
HELPER |
private static org.slf4j.Logger |
LOG |
private org.apache.hadoop.hbase.regionserver.MetricsTable |
mt |
private String |
pre |
private org.apache.hadoop.hbase.regionserver.MetricsRegionServer |
rsm |
private org.apache.hadoop.hbase.regionserver.MetricsRegionServerWrapper |
rsWrapper |
private String |
tableName |
private MetricsTableWrapperStub |
tableWrapper |
| Constructor and Description |
|---|
TestMetricsTableAggregate() |
| Modifier and Type | Method and Description |
|---|---|
static void |
classSetUp() |
void |
setUp() |
void |
testCompaction() |
void |
testConcurrentUpdate() |
void |
testFlush() |
void |
testRegionAndStoreMetrics() |
void |
testRequestMetrics() |
private void |
update(AtomicBoolean succ,
int round,
CyclicBarrier barrier) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static MetricsAssertHelper HELPER
private MetricsTableWrapperStub tableWrapper
private org.apache.hadoop.hbase.regionserver.MetricsTable mt
private org.apache.hadoop.hbase.regionserver.MetricsRegionServerWrapper rsWrapper
private org.apache.hadoop.hbase.regionserver.MetricsRegionServer rsm
private org.apache.hadoop.hbase.regionserver.MetricsTableAggregateSource agg
public TestMetricsTableAggregate()
public static void classSetUp()
public void setUp()
public void testRequestMetrics() throws IOException
IOExceptionpublic void testRegionAndStoreMetrics() throws IOException
IOExceptionpublic void testFlush()
public void testCompaction()
private void update(AtomicBoolean succ, int round, CyclicBarrier barrier)
public void testConcurrentUpdate() throws InterruptedException
InterruptedExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.