类 MethodInvocationRetryCallback<T,E extends Throwable>
java.lang.Object
cn.taketoday.retry.interceptor.MethodInvocationRetryCallback<T,E>
- 类型参数:
T
- the type of object returned by the callbackE
- the type of exception it declares may be thrown
- 所有已实现的接口:
RetryCallback<T,
E>
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
- 另请参阅:
-
字段概要
-
构造器概要
构造器说明MethodInvocationRetryCallback
(org.aopalliance.intercept.MethodInvocation invocation, String label) Constructor for the class. -
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 cn.taketoday.retry.RetryCallback
doWithRetry
-
字段详细资料
-
invocation
protected final org.aopalliance.intercept.MethodInvocation invocation -
label
-
-
构造器详细资料
-
MethodInvocationRetryCallback
public MethodInvocationRetryCallback(org.aopalliance.intercept.MethodInvocation invocation, String label) Constructor for the class.- 参数:
invocation
- the method invocationlabel
- a unique label for statistics reporting.
-
-
方法详细资料
-
getInvocation
public org.aopalliance.intercept.MethodInvocation getInvocation() -
getLabel
-