public final class RateLimitingDecoratorFactoryFunction extends Object implements DecoratorFactoryFunction<RateLimitingDecorator>
ThrottlingService decorator with a
RateLimitingThrottlingStrategy.| Constructor and Description |
|---|
RateLimitingDecoratorFactoryFunction() |
| Modifier and Type | Method and Description |
|---|---|
Function<? super HttpService,? extends HttpService> |
newDecorator(RateLimitingDecorator parameter)
Creates a new decorator with the specified
parameter. |
public RateLimitingDecoratorFactoryFunction()
public Function<? super HttpService,? extends HttpService> newDecorator(RateLimitingDecorator parameter)
parameter.newDecorator in interface DecoratorFactoryFunction<RateLimitingDecorator>Copyright © 2020 LeanCloud. All rights reserved.