public class TestZooKeeperScanPolicyObserver extends Object
Modifier and Type | Field and Description |
---|---|
static HBaseClassTestRule |
CLASS_RULE |
private static byte[] |
FAMILY |
private static org.apache.hadoop.hbase.TableName |
NAME |
private static byte[] |
QUALIFIER |
private static org.apache.hadoop.hbase.client.Table |
TABLE |
private static HBaseTestingUtility |
UTIL |
Constructor and Description |
---|
TestZooKeeperScanPolicyObserver() |
Modifier and Type | Method and Description |
---|---|
private void |
assertNotExists(int start,
int end) |
private void |
assertValueEquals(int start,
int end) |
private void |
put(int start,
int end,
long ts) |
private void |
setExpireBefore(long time) |
static void |
setUp() |
static void |
tearDown() |
void |
test() |
public static final HBaseClassTestRule CLASS_RULE
private static final HBaseTestingUtility UTIL
private static org.apache.hadoop.hbase.TableName NAME
private static byte[] FAMILY
private static byte[] QUALIFIER
private static org.apache.hadoop.hbase.client.Table TABLE
public TestZooKeeperScanPolicyObserver()
private void setExpireBefore(long time) throws org.apache.zookeeper.KeeperException, InterruptedException, IOException
org.apache.zookeeper.KeeperException
InterruptedException
IOException
private void assertValueEquals(int start, int end) throws IOException
IOException
private void assertNotExists(int start, int end) throws IOException
IOException
private void put(int start, int end, long ts) throws IOException
IOException
public void test() throws IOException, org.apache.zookeeper.KeeperException, InterruptedException
IOException
org.apache.zookeeper.KeeperException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.