Builder
Fluent builder for RetryConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Functions
Sets RetryConfig.exceptionClasses, the types of failures to retry on, or unsets it if null. Leaves RetryConfig.exceptions unchanged. Java callers pass Class objects, as a list or one by one, to exceptionJavaClasses instead.
Sets RetryConfig.exceptionClasses from the given types, like the list overload.
Sets RetryConfig.exceptionClasses from Java classes, or unsets it if null. Leaves RetryConfig.exceptions unchanged.
Sets RetryConfig.exceptionClasses from the given Java classes, like the list overload.
Sets RetryConfig.exceptions, the simple class names of failures to retry on, or unsets it if null. Leaves RetryConfig.exceptionClasses unchanged.
Sets RetryConfig.exceptions from the given names, like the list overload.
Sets RetryConfig.initialDelay in milliseconds.
Sets RetryConfig.maxDelay in milliseconds.