Package org.apache.hadoop.hbase.quotas
Class TestQuotaState
java.lang.Object
org.apache.hadoop.hbase.quotas.TestQuotaState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleorg.junit.rules.TestNameprivate static final org.apache.hadoop.hbase.TableName -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidassertNoopLimiter(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter) private voidassertNoThrottleException(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) private voidassertThrottleException(org.apache.hadoop.hbase.quotas.QuotaLimiter limiter, int availReqs) private org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.QuotasbuildReqNumThrottle(long limit) voidvoidvoidvoidvoidvoid
-
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
-