public class TestBlockBytesScannedQuota extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.slf4j.Logger |
LOG |
private static long |
MAX_SCANNER_RESULT_SIZE |
private static byte[] |
QUALIFIER |
private static int |
REFRESH_TIME |
private static org.apache.hadoop.hbase.TableName |
TABLE_NAME |
private static HBaseTestingUtil |
TEST_UTIL |
Constructor and Description |
---|
TestBlockBytesScannedQuota() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
void |
tearDown() |
static void |
tearDownAfterClass() |
void |
testBBSGet() |
void |
testBBSMultiGet() |
void |
testBBSScan() |
void |
testSmallScanNeverBlockedByLargeEstimate() |
private void |
testTraffic(Callable<Long> trafficCallable,
long expectedSuccess,
long marginOfError) |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int REFRESH_TIME
private static final HBaseTestingUtil TEST_UTIL
private static final byte[] FAMILY
private static final byte[] QUALIFIER
private static final org.apache.hadoop.hbase.TableName TABLE_NAME
private static final long MAX_SCANNER_RESULT_SIZE
public TestBlockBytesScannedQuota()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testBBSGet() throws Exception
Exception
public void testBBSScan() throws Exception
Exception
public void testSmallScanNeverBlockedByLargeEstimate() throws Exception
Exception
public void testBBSMultiGet() throws Exception
Exception
private void testTraffic(Callable<Long> trafficCallable, long expectedSuccess, long marginOfError) throws Exception
Exception
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.