Annotation Interface LRA


@Inherited @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface LRA
Marks a method or a Type as to be a part of the LRA process initialization
  • Field Details

  • Element Details

    • value

      LRA.Type value
      Default:
      REQUIRED
    • timeLimit

      long timeLimit
      Default:
      0L
    • timeUnit

      ChronoUnit timeUnit
      Default:
      SECONDS
    • end

      boolean end
      Default:
      true
    • cancelOnFamily

      org.springframework.http.HttpStatus.Series[] cancelOnFamily
      Default:
      {CLIENT_ERROR, SERVER_ERROR}
    • cancelOn

      org.springframework.http.HttpStatus[] cancelOn
      Default:
      {}