添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
@Target(value={METHOD,TYPE})
 @Retention(value=RUNTIME)
 @Import(value=RetryConfiguration.class)
 @Documented
public @interface Recover
Annotation for a method invocation that is a recovery handler. A suitable recovery handler has a first parameter of type Throwable (or a subtype of Throwable) and a return value of the same type as the @Retryable method to recover from. The Throwable first argument is optional (but a method without it will only be called if no others match). Subsequent arguments are populated from the argument list of the failed method in order.
Since:
Author:
Dave Syer