All Implemented Interfaces:
Serializable

public final class BulkheadFullException extends ResilientException
Thrown when a Bulkhead rejects a call because all permits are in use and no permit became available within the configured maximum wait time.

The name carried by this exception is the bulkhead's own name, which must be a static, compile-time-known string — never request-derived or tenant-derived. It is used as a cardinality-bounded key/tag in metrics and logging; unbounded distinct names would cause unbounded memory growth in metrics backends.

See Also:
  • Constructor Details

    • BulkheadFullException

      public BulkheadFullException(String name, int maxConcurrentCalls, Duration maxWait)
  • Method Details

    • name

      public String name()
      The bulkhead instance name.
    • maxConcurrentCalls

      public int maxConcurrentCalls()
      The concurrency limit that was reached.
    • maxWait

      public Duration maxWait()
      How long the call waited for a permit before being rejected (zero means fail-fast).