Uses of Class
org.forgerock.openig.filter.throttling.ThrottlingRate
-
Packages that use ThrottlingRate Package Description org.forgerock.openig.filter.throttling 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 ThrottlingRate Modifier and Type Method Description Promise<ThrottlingRate,Exception>DefaultRateThrottlingPolicy. lookup(Context context, Request request)Promise<ThrottlingRate,Exception>FixedRateThrottlingPolicy. lookup(Context context, Request request)Promise<ThrottlingRate,Exception>MappedThrottlingPolicy. lookup(Context context, Request request)Promise<ThrottlingRate,Exception>ScriptableThrottlingPolicy. lookup(Context context, Request request)Promise<ThrottlingRate,Exception>ThrottlingPolicy. lookup(Context context, Request request)Returns theThrottlingRatethat should be used for the provided request.Methods in org.forgerock.openig.filter.throttling with parameters of type ThrottlingRate Modifier and Type Method Description Promise<Long,NeverThrowsException>ThrottlingStrategy. throttle(String partitionKey, ThrottlingRate throttlingRate)Based on the given partitionKey and throttlingRate, return if the call is accepted or not.Promise<Long,NeverThrowsException>TokenBucketThrottlingStrategy. throttle(String partitionKey, ThrottlingRate throttlingRate)Constructors in org.forgerock.openig.filter.throttling with parameters of type ThrottlingRate Constructor Description DefaultRateThrottlingPolicy(ThrottlingRate defaultRate, ThrottlingPolicy delegate)Constructs a newDefaultRateThrottlingPolicy.FixedRateThrottlingPolicy(ThrottlingRate rate)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 ThrottlingRate Constructor Description MappedThrottlingPolicy(AsyncFunction<ContextAndRequest,String,Exception> throttlingRateMapper, Map<String,ThrottlingRate> throttlingRatesMapping, ThrottlingRate defaultRate)Constructs a newMappedThrottlingPolicy.
-