类 MethodInvocationRetryCallback<T,E extends Throwable>

java.lang.Object
cn.taketoday.retry.interceptor.MethodInvocationRetryCallback<T,E>
类型参数:
T - the type of object returned by the callback
E - the type of exception it declares may be thrown
所有已实现的接口:
RetryCallback<T,E>
直接已知子类:
StatefulRetryOperationsInterceptor.StatefulMethodInvocationRetryCallback

public abstract class MethodInvocationRetryCallback<T,E extends Throwable> extends Object implements RetryCallback<T,E>
Callback class for a Infra AOP reflective `MethodInvocation` that can be retried using a RetryOperations. In a concrete RetryListener implementation, the `MethodInvocation` can be analysed for providing insights on the method called as well as its parameter values which could then be used for monitoring purposes.
从以下版本开始:
4.0
作者:
Marius Grama
另请参阅:
  • 字段详细资料

    • invocation

      protected final org.aopalliance.intercept.MethodInvocation invocation
    • label

      protected final String label
  • 构造器详细资料

    • MethodInvocationRetryCallback

      public MethodInvocationRetryCallback(org.aopalliance.intercept.MethodInvocation invocation, String label)
      Constructor for the class.
      参数:
      invocation - the method invocation
      label - a unique label for statistics reporting.
  • 方法详细资料

    • getInvocation

      public org.aopalliance.intercept.MethodInvocation getInvocation()
    • getLabel

      public String getLabel()