Package org.apache.hadoop.hbase.quotas
Class TestAtomicReadQuota
java.lang.Object
org.apache.hadoop.hbase.quotas.TestAtomicReadQuota
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final byte[]private static final org.slf4j.Loggerprivate static final byte[]private static final org.apache.hadoop.hbase.TableNameprivate static final HBaseTestingUtility -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate org.apache.hadoop.hbase.client.TablegetTable()static voidprivate voidstatic voidtearDown()voidvoidvoidvoidvoidvoidvoidprivate voidtestThrottle(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
-