public class TestCallQueue extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private int |
elementsAdded |
private int |
elementsRemoved |
private static org.slf4j.Logger |
LOG |
private static MetricsAssertHelper |
metricsHelper |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestCallQueue(int elementsAdded,
int elementsRemoved) |
Modifier and Type | Method and Description |
---|---|
private static Runnable |
createDummyRunnable() |
private static org.apache.hadoop.hbase.thrift.ThriftMetrics |
createMetrics() |
static Collection<Object[]> |
getParameters() |
void |
testOfferPoll() |
void |
testPutTake() |
private static void |
verifyMetrics(org.apache.hadoop.hbase.thrift.ThriftMetrics metrics,
String name,
int expectValue) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final HBaseTestingUtility UTIL
private static final MetricsAssertHelper metricsHelper
private int elementsAdded
private int elementsRemoved
public TestCallQueue(int elementsAdded, int elementsRemoved)
public static Collection<Object[]> getParameters()
public void testPutTake() throws Exception
Exception
public void testOfferPoll() throws Exception
Exception
private static org.apache.hadoop.hbase.thrift.ThriftMetrics createMetrics() throws Exception
Exception
private static void verifyMetrics(org.apache.hadoop.hbase.thrift.ThriftMetrics metrics, String name, int expectValue) throws Exception
Exception
private static Runnable createDummyRunnable()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.