Retryable
interface Retryable
Marker interface indicating that an operation should be retried on failure.
Can be applied to exceptions, commands, actions, or any operation that may fail transiently and should be retried according to the configured retry policy.
Common use cases:
Network timeouts
Temporary service unavailability
Rate limiting (429 errors)
Transient database connection errors
Example usage:
import com.embabel.agent.core.Retryable
class ApiTimeoutException(message: String)
: RuntimeException(message), RetryableContent copied to clipboard