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 HBaseTestingUtil -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate org.apache.hadoop.hbase.client.TablegetTable()private voidprivate voidprivate voidprivate voidstatic voidprivate voidstatic voidtearDown()voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidprivate 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
-
testAtomicBatchCountedAgainstAtomicOnlyReqNum
- Throws:
Exception
-
testAtomicBatchCountedAgainstAtomicOnlyReadSize
- Throws:
Exception
-
testNonAtomicWritesIgnoredByAtomicOnlyReqNum
- Throws:
Exception
-
testNonAtomicWritesIgnoredByAtomicOnlyReadSize
- Throws:
Exception
-
testNonAtomicReadsIgnoredByAtomicOnlyReqNum
- Throws:
Exception
-
testNonAtomicReadsIgnoredByAtomicOnlyReadSize
- Throws:
Exception
-
runNonAtomicPuts
- Throws:
Exception
-
runNonAtomicReads
- Throws:
Exception
-
setupGenericQuota
- Throws:
Exception
-
setupAtomicOnlyReqNumQuota
- Throws:
Exception
-
setupAtomicOnlyReadSizeQuota
- 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
-