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