Annotation Interface Backpressure


@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) public @interface Backpressure
Declares method-level admission metadata for overload handling.

The annotation is advisory metadata consumed by J7M dispatch and validation. Rejection still maps to the stable middleware overload error model rather than a transport-specific exception.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    int
    Returns the maximum admitted concurrent calls.
  • Element Details

    • maxConcurrent

      int maxConcurrent
      Returns the maximum admitted concurrent calls.
      Returns:
      maximum concurrent calls, or -1 when unspecified
      Default:
      -1