Uses of Class
org.forgerock.openig.filter.throttling.ThrottlingRate
Packages that use ThrottlingRate
Package
Description
This package contains the components used to implement a throttling rate support.
-
Uses of ThrottlingRate in org.forgerock.openig.filter.throttling
Methods in org.forgerock.openig.filter.throttling that return types with arguments of type ThrottlingRateModifier and TypeMethodDescriptionReturns theThrottlingRatethat should be used for the provided request.Methods in org.forgerock.openig.filter.throttling with parameters of type ThrottlingRateModifier and TypeMethodDescriptionThrottlingStrategy.throttle(String partitionKey, ThrottlingRate throttlingRate) Based on the given partitionKey and throttlingRate, return if the call is accepted or not.TokenBucketThrottlingStrategy.throttle(String partitionKey, ThrottlingRate throttlingRate) Constructors in org.forgerock.openig.filter.throttling with parameters of type ThrottlingRateModifierConstructorDescriptionDefaultRateThrottlingPolicy(ThrottlingRate defaultRate, ThrottlingPolicy delegate) Constructs a newDefaultRateThrottlingPolicy.Constructs a new throttling policy that always returns the same throttling rate.MappedThrottlingPolicy(AsyncFunction<ContextAndRequest, String, Exception> throttlingRateMapper, Map<String, ThrottlingRate> throttlingRatesMapping, ThrottlingRate defaultRate) Constructs a newMappedThrottlingPolicy.Constructor parameters in org.forgerock.openig.filter.throttling with type arguments of type ThrottlingRateModifierConstructorDescriptionMappedThrottlingPolicy(AsyncFunction<ContextAndRequest, String, Exception> throttlingRateMapper, Map<String, ThrottlingRate> throttlingRatesMapping, ThrottlingRate defaultRate) Constructs a newMappedThrottlingPolicy.