类 ActiveLimitFilter

  • 所有已实现的接口:
    Filter, Filter.Listener

    @Activate(group="consumer",
              value="actives")
    public class ActiveLimitFilter
    extends Object
    implements Filter, Filter.Listener
    ActiveLimitFilter restrict the concurrent client invocation for a service or service's method from client side. To use active limit filter, configured url with actives and provide valid >0 integer value.
         e.g. 
          In the above example maximum 2 concurrent invocation is allowed.
          If there are more than configured (in this example 2) is trying to invoke remote method, then rest of invocation
          will wait for configured timeout(default is 0 second) before invocation gets kill by dubbo.
     
    另请参阅:
    Filter