Package org.apache.hadoop.hbase.quotas
Class TestQuotaState
java.lang.Object
org.apache.hadoop.hbase.quotas.TestQuotaState
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HBaseClassTestRuleprivate static final org.apache.hadoop.conf.Configurationorg.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) voidvoidvoidvoidvoid
-
Field Details
-
CLASS_RULE
-
UNKNOWN_TABLE_NAME
-
name
-
conf
-
-
Constructor Details
-
TestQuotaState
public TestQuotaState()
-
-
Method Details
-
testQuotaStateBypass
-
testSimpleQuotaStateOperation
-
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
-