Class TestZooKeeperScanPolicyObserver
java.lang.Object
org.apache.hadoop.hbase.coprocessor.example.TestZooKeeperScanPolicyObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static byte[]private static org.apache.hadoop.hbase.TableNameprivate static byte[]private static org.apache.hadoop.hbase.client.Tableprivate static final HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNotExists(int start, int end) private voidassertValueEquals(int start, int end) private voidput(int start, int end, long ts) private voidsetExpireBefore(long time) static voidsetUp()static voidtearDown()voidtest()
-
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.KeeperExceptionInterruptedExceptionIOException
-
assertValueEquals
- Throws:
IOException
-
assertNotExists
- Throws:
IOException
-
put
- Throws:
IOException
-
test
- Throws:
IOExceptionorg.apache.zookeeper.KeeperExceptionInterruptedException
-