Package org.apache.hadoop.hbase.quotas
Class TestFeedbackAdaptiveRateLimiter
java.lang.Object
org.apache.hadoop.hbase.quotas.TestFeedbackAdaptiveRateLimiter
@Tag("org.apache.hadoop.hbase.testclassification.RegionServerTests") @Tag("org.apache.hadoop.hbase.testclassification.SmallTests")
public class TestFeedbackAdaptiveRateLimiter
extends Object
Verify the behavior of the FeedbackAdaptiveRateLimiter including adaptive backoff multipliers and
over-subscription functionality.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.hbase.quotas.FeedbackAdaptiveRateLimiter.FeedbackAdaptiveRateLimiterFactory -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
testEdge
-
factory
private org.apache.hadoop.hbase.quotas.FeedbackAdaptiveRateLimiter.FeedbackAdaptiveRateLimiterFactory factory
-
-
Constructor Details
-
TestFeedbackAdaptiveRateLimiter
public TestFeedbackAdaptiveRateLimiter()
-
-
Method Details
-
setUp
-
tearDown
-
testBasicFunctionality
-
testAdaptiveBackoffIncreases
-
testAdaptiveBackoffDecreases
-
testOversubscriptionIncreasesWithLowUtilization
-
testOversubscriptionDecreasesWithHighUtilization
-
testBackoffMultiplierCapsAtMaximum
-
testOversubscriptionCapsAtMaximum
-
testMultipleRefillIntervals
-
testRefillIntervalAdjustment
-
testBackoffMultiplierBottomsAtOne
-
testConcurrentAccess
- Throws:
InterruptedException
-
testOverconsumptionBehavior
-
testOscillatingLoadPattern
-
testUtilizationEmaConvergence
-