RetryConfig
How a node is retried when it raises.
Constructors
Types
Fluent builder for RetryConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Properties
Multiplier applied to the delay after each attempt.
Failure types to retry on, each also matching its subclasses. A failure is retried when it matches this list or exceptions, and any failure is retried when both are null. A WorkflowConfigurationException, or the WorkflowInvariantException of a replay that timed out, is never retried, even when matched by a listed class.
Simple class names of failures to retry on, such as "NodeTimeoutException", matched exactly with no subclass matching. A failure is retried when it matches this list or exceptionClasses, and any failure is retried when both are null. A WorkflowConfigurationException, or the WorkflowInvariantException of a replay that timed out, is never retried, even when listed.
Delay before the first retry.
Attempts including the first, so 0 or 1 means no retry.
Functions
Returns exceptionClasses as Java classes, or null when unset, for Java callers.
Returns initialDelay in whole milliseconds. Java cannot read it (mangled).
Returns maxDelay in whole milliseconds. Java cannot read it (mangled).
Returns a Builder initialized with this instance's properties, primarily for Java callers. Prefer it over copy from Java: copy takes every property positionally, so its signature changes whenever a property is added.