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 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
private org.apache.hadoop.hbase.client.Table
getTable()
private void
private void
private void
private void
static void
private void
static void
tearDown()
void
void
void
void
void
void
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
-
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
-