类 ExecuteLimitFilter
- java.lang.Object
-
- org.apache.dubbo.rpc.filter.ExecuteLimitFilter
-
- 所有已实现的接口:
Filter,Filter.Listener
@Activate(group="provider", value="executes") public class ExecuteLimitFilter extends Object implements Filter, Filter.Listener
The maximum parallel execution request count per method per service for the provider.If the max configured executes is set to 10 and if invoke request where it is already 10 then it will throws exception. It continue the same behaviour un till it is <10.
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.apache.dubbo.rpc.Filter
Filter.Listener
-
-
构造器概要
构造器 构造器 说明 ExecuteLimitFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 Resultinvoke(Invoker<?> invoker, Invocation invocation)Make sure call invoker.invoke() in your implementation.voidonError(Throwable t, Invoker<?> invoker, Invocation invocation)voidonResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
-
-
-
方法详细资料
-
invoke
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException
从接口复制的说明:FilterMake sure call invoker.invoke() in your implementation.- 指定者:
invoke在接口中Filter- 抛出:
RpcException
-
onResponse
public void onResponse(Result appResponse, Invoker<?> invoker, Invocation invocation)
- 指定者:
onResponse在接口中Filter.Listener
-
onError
public void onError(Throwable t, Invoker<?> invoker, Invocation invocation)
- 指定者:
onError在接口中Filter.Listener
-
-