Package org.apache.hadoop.hbase.quotas
Class TestAtomicReadQuota
java.lang.Object
org.apache.hadoop.hbase.quotas.TestAtomicReadQuota
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static interface
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final byte[]
private static final org.slf4j.Logger
private static final byte[]
private static final org.apache.hadoop.hbase.TableName
private static final HBaseTestingUtil
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
private org.apache.hadoop.hbase.client.Table
getTable()
static void
private void
static void
tearDown()
void
void
void
void
void
void
void
private void
testThrottle
(TestAtomicReadQuota.ThrowingFunction<org.apache.hadoop.hbase.client.Table, ?> request)
-
Field Details
-
CLASS_RULE
-
LOG
-
TEST_UTIL
-
TABLE_NAME
-
FAMILY
-
QUALIFIER
-
-
Constructor Details
-
TestAtomicReadQuota
public TestAtomicReadQuota()
-
-
Method Details
-
tearDown
- Throws:
Exception
-
setUpBeforeClass
- Throws:
Exception
-
testIncrementCountedAgainstReadCapacity
- Throws:
Exception
-
testConditionalRowMutationsCountedAgainstReadCapacity
- Throws:
Exception
-
testNonConditionalRowMutationsOmittedFromReadCapacity
- Throws:
Exception
-
testNonAtomicPutOmittedFromReadCapacity
- Throws:
Exception
-
testNonAtomicMultiPutOmittedFromReadCapacity
- Throws:
Exception
-
testCheckAndMutateCountedAgainstReadCapacity
- Throws:
Exception
-
testAtomicBatchCountedAgainstReadCapacity
- Throws:
Exception
-
setupQuota
- Throws:
Exception
-
cleanupQuota
- Throws:
Exception
-
testThrottle
private void testThrottle(TestAtomicReadQuota.ThrowingFunction<org.apache.hadoop.hbase.client.Table, ?> request) throws Exception- Throws:
Exception
-
getTable
- Throws:
IOException
-