Class TestZooKeeperScanPolicyObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.TestZooKeeperScanPolicyObserver
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static byte[]
private static org.apache.hadoop.hbase.TableName
private static byte[]
private static org.apache.hadoop.hbase.client.Table
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate 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()
-
Field Details
-
CLASS_RULE
-
UTIL
-
NAME
-
FAMILY
-
QUALIFIER
-
TABLE
-
-
Constructor Details
-
TestZooKeeperScanPolicyObserver
public TestZooKeeperScanPolicyObserver()
-
-
Method Details
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
setExpireBefore
private void setExpireBefore(long time) throws org.apache.zookeeper.KeeperException, InterruptedException, IOException - Throws:
org.apache.zookeeper.KeeperException
InterruptedException
IOException
-
assertValueEquals
- Throws:
IOException
-
assertNotExists
- Throws:
IOException
-
put
- Throws:
IOException
-
test
- Throws:
IOException
org.apache.zookeeper.KeeperException
InterruptedException
-