public abstract class BaseLimiterInterceptor extends Object
| 构造器和说明 |
|---|
BaseLimiterInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected String |
buildUrl(com.jfinal.aop.Invocation inv) |
protected void |
doExecFallback(String resource,
String fallback,
com.jfinal.aop.Invocation inv) |
protected void |
doInterceptForConcurrency(int rate,
String resource,
String fallback,
com.jfinal.aop.Invocation inv) |
protected void |
doInterceptForTokenBucket(int rate,
String resource,
String fallback,
com.jfinal.aop.Invocation inv) |
protected void |
doInterceptForTokenBucketWithCluster(int rate,
String resource,
String fallback,
com.jfinal.aop.Invocation inv) |
protected String |
getPackageOrTarget(com.jfinal.aop.Invocation inv) |
public BaseLimiterInterceptor()
protected void doInterceptForConcurrency(int rate, String resource, String fallback, com.jfinal.aop.Invocation inv)
protected void doInterceptForTokenBucket(int rate, String resource, String fallback, com.jfinal.aop.Invocation inv)
protected void doInterceptForTokenBucketWithCluster(int rate, String resource, String fallback, com.jfinal.aop.Invocation inv)
protected void doExecFallback(String resource, String fallback, com.jfinal.aop.Invocation inv)
protected String getPackageOrTarget(com.jfinal.aop.Invocation inv)
Copyright © 2024. All rights reserved.