Package org.apache.hadoop.hbase.quotas
Class TestQuotaState
java.lang.Object
org.apache.hadoop.hbase.quotas.TestQuotaState
-
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
org.junit.rules.TestName
private static final org.apache.hadoop.hbase.TableName
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
assertNoopLimiter
(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter) private void
assertNoThrottleException
(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) private void
assertThrottleException
(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas
buildReqNumThrottle
(long limit) void
void
void
void
void
void
-
Field Details
-
CLASS_RULE
-
UNKNOWN_TABLE_NAME
-
name
-
-
Constructor Details
-
TestQuotaState
public TestQuotaState()
-
-
Method Details
-
testQuotaStateBypass
-
testSimpleQuotaStateOperation
-
testQuotaStateUpdateBypassThrottle
-
testQuotaStateUpdateGlobalThrottle
-
testQuotaStateUpdateTableThrottle
-
testTableThrottleWithBatch
-
buildReqNumThrottle
private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.Quotas buildReqNumThrottle(long limit) -
assertThrottleException
private void assertThrottleException(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) -
assertNoThrottleException
private void assertNoThrottleException(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) -
assertNoopLimiter
-