Class ThrottleAdvice
- java.lang.Object
-
- me.insidezhou.southernquiet.throttle.ThrottleAdvice
-
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor
public class ThrottleAdvice extends java.lang.Object implements org.aopalliance.intercept.MethodInterceptor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classThrottleAdvice.EvaluationRootstatic classThrottleAdvice.NameEvaluator
-
Constructor Summary
Constructors Constructor Description ThrottleAdvice(org.springframework.beans.factory.BeanFactory beanFactory, org.springframework.util.StringValueResolver stringValueResolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intadvisingCount()protected voidinitOnceBeforeWork()java.lang.Objectinvoke(org.aopalliance.intercept.MethodInvocation invocation)
-
-
-
Method Detail
-
initOnceBeforeWork
protected void initOnceBeforeWork()
-
invoke
public java.lang.Object invoke(@NotNull org.aopalliance.intercept.MethodInvocation invocation) throws java.lang.Throwable- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
java.lang.Throwable
-
advisingCount
public int advisingCount()
-
-