public class ThrottleAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor, org.springframework.context.EmbeddedValueResolverAware
| Modifier and Type | Class and Description |
|---|---|
static class |
ThrottleAdvice.EvaluationRoot |
static class |
ThrottleAdvice.NameEvaluator |
| Constructor and Description |
|---|
ThrottleAdvice(ThrottleManager throttleManager,
org.springframework.beans.factory.BeanFactory beanFactory) |
| Modifier and Type | Method and Description |
|---|---|
int |
advisingCount() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
void |
setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver) |
public ThrottleAdvice(ThrottleManager throttleManager, org.springframework.beans.factory.BeanFactory beanFactory)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwablepublic int advisingCount()
public void setEmbeddedValueResolver(@NotNull
org.springframework.util.StringValueResolver resolver)
setEmbeddedValueResolver in interface org.springframework.context.EmbeddedValueResolverAware