Class OverloadRetryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
ai.redouble.nucleo.harness.errors.retry.UpstreamRetryException
ai.redouble.nucleo.harness.errors.retry.OverloadRetryException
- All Implemented Interfaces:
Serializable
The provider reported that its fleet is overloaded (Anthropic's 529
overloaded_error): a capacity signal, not a fault and not a budget
violation. Handled exactly like a rate limit - transparent retry, fleet-wide
throttle - but with a wider wait window (overload episodes last minutes while the
refusals fast-fail in seconds, so short waits only burn resource acquisitions) and
a harder initial throttle bump (the whole service is drowning and every concurrent
job is receiving the same signal; yield hard now, let successes walk it back).- Since:
- 0.1 (2026-08-25)
- Author:
- Andrey Santrosyan
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOverloadRetryException(String message, String provider, String errorDetails, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionintHow many throttle increments this signal feeds the model's admission limiter (TokenBucketRateLimiter.recordBackpressure(int)); zero means the limiter does not hear about it.longUpper edge of the backoff jitter window, in milliseconds, before attempt scaling.longLower edge of the backoff jitter window, in milliseconds, before the dispatcher scales it by the attempt factor.Methods inherited from class UpstreamRetryException
detailsMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OverloadRetryException
-
-
Method Details
-
getProvider
-
getErrorDetails
-
baseMinJitterMs
public long baseMinJitterMs()Description copied from class:UpstreamRetryExceptionLower edge of the backoff jitter window, in milliseconds, before the dispatcher scales it by the attempt factor.- Specified by:
baseMinJitterMsin classUpstreamRetryException
-
baseMaxJitterMs
public long baseMaxJitterMs()Description copied from class:UpstreamRetryExceptionUpper edge of the backoff jitter window, in milliseconds, before attempt scaling.- Specified by:
baseMaxJitterMsin classUpstreamRetryException
-
backpressureIncrements
public int backpressureIncrements()Description copied from class:UpstreamRetryExceptionHow many throttle increments this signal feeds the model's admission limiter (TokenBucketRateLimiter.recordBackpressure(int)); zero means the limiter does not hear about it.- Specified by:
backpressureIncrementsin classUpstreamRetryException
-