Annotation Type Retryable


@Target(METHOD) @Retention(RUNTIME) public @interface Retryable
Indicates that a method is to be retried if any of the exceptions in the `exceptions` parameter is thrown. The `times` parameter defines the number of times to retry
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Throwable>[]
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
     
  • Element Details

    • times

      int times
      Default:
      1