public interface TPSLimiter
e.g. if tps for a method m1 is 5 for a minute then if 6th call is made within the span of 1 minute then 6th
should not be allowed isAllowable will return false.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowable(URL url,
Invocation invocation)
judge if the current invocation is allowed by TPS rule
|
boolean isAllowable(URL url, Invocation invocation)
url - urlinvocation - invocationCopyright © 2011–2019 The Apache Software Foundation. All rights reserved.