A strategy for computing a sequence of wait durations for use between retry attempts.
Base type for error classifications.
The type of error classifier functions.
A monitor that is notified of events that occur while a retry operation is in progress.
Base type for result classifications.
The type of result classifier functions.
A policy that enables customizable retries for arbitrary operations.
A policy that enables customizable retries for arbitrary operations.
The strategy for determining when to abort a retry operation.
The strategy used to calculate delays between retries.
The monitor that is notified of retry events.
The classifier for errors raised during retry operations. This field is deprecated and will be
used as a fallback for the errors
classifier, which should be used instead.
The classifier for results returned during retry operations.
The classifier for errors raised during retry operations.
Strategy for determining when to abort a retry operation.
Definitions of the supported error classifications and the default classification function.
Common error classifiers.
Definitions of the supported result classifications and the default classification function.
Common result classifiers.
Factory for retry policies.
The atmos.backoff
package provides common implementations of the atmos.BackoffPolicy trait.
The atmos.dsl
package defines a domain specific language for constructing and using retry policies.
The atmos.monitor
package provides common implementations of the atmos.EventMonitor trait.
The atmos.termination
package provides common implementations of the atmos.TerminationPolicy trait.
The
atmos
package aims to provide a concise mechanism for implementing retry-on-failure behavior.Retry behavior is controlled by an instance of atmos.RetryPolicy configured with strategies for various components of the retry operation. The elements that define a retry policy are:
Additionally, the atmos.dsl package provides a concise DSL for describing retry policies.
For more information about using the
atmos
library, see http://zman.io/atmos