public class TestGlobalReplicationThrottler extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static org.apache.hadoop.conf.Configuration |
conf1 |
private static org.apache.hadoop.conf.Configuration |
conf2 |
private static byte[] |
famName |
private static org.slf4j.Logger |
LOG |
org.junit.rules.TestName |
name |
private static int |
numOfPeer |
private static int |
REPLICATION_SOURCE_QUOTA |
private static byte[] |
ROW |
private static byte[][] |
ROWS |
private boolean |
testQuotaNonZero |
private boolean |
testQuotaPass |
private static HBaseTestingUtility |
utility1 |
private static HBaseTestingUtility |
utility2 |
private static byte[] |
VALUE |
Constructor and Description |
---|
TestGlobalReplicationThrottler() |
Modifier and Type | Method and Description |
---|---|
static void |
setUpBeforeClass() |
static void |
tearDownAfterClass() |
void |
testQuota() |
public static final HBaseClassTestRule CLASS_RULE
private static final org.slf4j.Logger LOG
private static final int REPLICATION_SOURCE_QUOTA
private static int numOfPeer
private static org.apache.hadoop.conf.Configuration conf1
private static org.apache.hadoop.conf.Configuration conf2
private static HBaseTestingUtility utility1
private static HBaseTestingUtility utility2
private static final byte[] famName
private static final byte[] VALUE
private static final byte[] ROW
private static final byte[][] ROWS
public org.junit.rules.TestName name
private volatile boolean testQuotaPass
private volatile boolean testQuotaNonZero
public TestGlobalReplicationThrottler()
public static void setUpBeforeClass() throws Exception
Exception
public static void tearDownAfterClass() throws Exception
Exception
public void testQuota() throws IOException
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.