A base class that adds DSL extension methods for the specified event monitors and actions.
A base class that implements DSL extension methods for all logging event monitors.
A base class that implements DSL extension methods for all printing event monitors.
An alias to the BackoffPolicy
type.
Adds DSL extension methods to the backoff policy interface.
Adds DSL extension methods to the backoff policy interface.
The backoff policy to add the extension methods to.
A factory for duration-based backoff policies.
A factory for duration-based backoff policies.
The mapping from durations to backoff policies.
An alias to the ErrorClassification
type.
An alias to the ErrorClassifier
type.
A tag for logging system specific level types, used to map generic action names to concrete logging levels.
An alias to the EventMonitor
type.
Adds a termination policy factory named attempts
to Int
.
Adds a termination policy factory named attempts
to Int
.
The maximum number of attempts that the resulting termination policy will specify.
Adds DSL extension methods to the atmos.monitor.LogEventsWithAkka interface.
Adds DSL extension methods to the atmos.monitor.LogEventsWithAkka interface.
The Akka event monitor to add the extension methods to.
Exposes extensions on any instance of monitor.LogEventsWithJava
.
Exposes extensions on any instance of monitor.LogEventsWithSlf4j
.
Adds DSL extension methods to the atmos.monitor.PrintEventsWithStream interface.
Adds DSL extension methods to the atmos.monitor.PrintEventsWithStream interface.
The print stream event monitor to add the extension methods to.
Adds DSL extension methods to the atmos.monitor.PrintEventsWithWriter interface.
Adds DSL extension methods to the atmos.monitor.PrintEventsWithWriter interface.
The print writer event monitor to add the extension methods to.
An alias to the ResultClassification
type.
An alias to the ResultClassifier
type.
An alias to the RetryPolicy
type.
Adds DSL extension methods to the retry policy interface.
Adds DSL extension methods to the retry policy interface.
The retry policy to add the extension methods to.
An alias to the TerminationPolicy
type.
Adds DSL extension methods to the termination policy interface.
Adds DSL extension methods to the termination policy interface.
The termination policy to add the extension methods to.
Separate namespace for optional Akka support.
Factory for backoff policy factories.
An alias to the ErrorClassification
companion.
An alias to the ErrorClassifier
companion.
Declarations of the default logging level tags.
An alias to the ResultClassification
companion.
An alias to the ResultClassifier
companion.
An alias to the RetryPolicy
companion.
Separate namespace for optional SLF4J support.
Returns the Acceptable
result classification.
Provides an implicit extension of the backoff policy interface.
Provides an implicit extension of the backoff policy interface.
The backoff policy to extend the interface of.
Creates a backoff policy that uses the same backoff after every attempt.
Creates a backoff policy that increases the backoff duration exponentially after every attempt.
Creates a backoff policy that increases the backoff duration by repeatedly multiplying by the an approximation of the golden ratio (8 / 5, the sixth and fifth fibonacci numbers).
Creates a termination policy that limits a retry operation to the specified time frame for use in expressions like
retryFor { 5.minutes }
.
Creates a termination policy that limits a retry operation to the specified time frame for use in expressions like
retryFor { 5.minutes }
.
The maximum duration that the resulting termination policy will specify.
Adds logical and and or operators to durations for use in expressions like retryFor { 5.minutes || 5.attempts }
.
Adds logical and and or operators to durations for use in expressions like retryFor { 5.minutes || 5.attempts }
.
The maximum duration that the resulting termination policy will specify.
Provides an implicit factory named attempts
to Int
for use in expressions like retryFor { 5.attempts }
.
Provides an implicit factory named attempts
to Int
for use in expressions like retryFor { 5.attempts }
.
The maximum number of attempts that resulting termination policies will specify.
Returns the Recoverable
error classification.
Returns the SilentlyRecoverable
error classification.
Creates a backoff policy that increases the backoff duration linearly after every attempt.
Returns a log action that will submit a log entry at a debug-equivalent level.
Returns a log action that will submit a log entry at an error-equivalent level.
Provides an implicit extension of the atmos.monitor.LogEventsWithJava interface.
Provides an implicit extension of the atmos.monitor.LogEventsWithJava interface.
The java logging event monitor to extend the interface of.
Returns a log action that will submit a log entry at an info-equivalent level.
Returns a log action that will not log anything.
Returns a log action that will submit a log entry at a warning-equivalent level.
Creates a new event monitor that submits events to a logger.
Creates a new event monitor that submits events to a logger.
The logger to supply with event messages.
Creates a new event monitor extension interface for a logger.
Creates a new event monitor extension interface for a logger.
The logger to create a new event monitor extension interface for.
Creates a new retry policy that immediately terminates.
Provides an implicit extension of the atmos.monitor.PrintEventsWithStream interface.
Provides an implicit extension of the atmos.monitor.PrintEventsWithStream interface.
The print stream event monitor to extend the interface of.
Provides an implicit extension of the atmos.monitor.PrintEventsWithWriter interface.
Provides an implicit extension of the atmos.monitor.PrintEventsWithWriter interface.
The print writer event monitor to extend the interface of.
Returns a print action that will print only an event message.
Returns a print action that will print an event message and stack trace.
Returns a print action that will print no text.
Creates a new event monitor that prints messages to a stream.
Creates a new event monitor that prints messages to a stream.
The stream to print events to.
Creates a new event monitor extension interface for a print stream.
Creates a new event monitor extension interface for a print stream.
The print stream to create a new event monitor extension interface for.
Creates a new event monitor that prints messages to a writer.
Creates a new event monitor that prints messages to a writer.
The writer to print events to.
Creates a new event monitor extension interface for a print writer.
Creates a new event monitor extension interface for a print writer.
The print writer to create a new event monitor extension interface for.
Returns a factory for an Unacceptable
result classification with an optional status.
Performs the specified optionally named operation synchronously, retrying according to the implicit retry policy.
Performs the specified optionally named operation synchronously, retrying according to the implicit retry policy.
The optional name of the operation.
The operation to repeatedly perform.
The retry policy to execute with.
The clock used to track time and wait out backoff delays.
Performs the specified named operation synchronously, retrying according to the implicit retry policy.
Performs the specified named operation synchronously, retrying according to the implicit retry policy.
The name of the operation.
The operation to repeatedly perform.
The retry policy to execute with.
The clock used to track time and wait out backoff delays.
Performs the specified operation synchronously, retrying according to the implicit retry policy.
Performs the specified operation synchronously, retrying according to the implicit retry policy.
The operation to repeatedly perform.
The retry policy to execute with.
The clock used to track time and wait out backoff delays.
Performs the specified optionally named operation asynchronously, retrying according to the implicit retry policy.
Performs the specified optionally named operation asynchronously, retrying according to the implicit retry policy.
The optional name of the operation.
The operation to repeatedly perform.
The retry policy to execute with.
The execution context to retry on.
The clock used to track time and schedule backoff notifications.
Performs the specified optionally named operation asynchronously, retrying according to the implicit retry policy.
Performs the specified optionally named operation asynchronously, retrying according to the implicit retry policy.
The name of the operation.
The operation to repeatedly perform.
The retry policy to execute with.
The execution context to retry on.
The clock used to track time and schedule backoff notifications.
Performs the specified operation asynchronously, retrying according to the implicit retry policy.
Performs the specified operation asynchronously, retrying according to the implicit retry policy.
The operation to repeatedly perform.
The retry policy to execute with.
The execution context to retry on.
The clock used to track time and schedule backoff notifications.
Creates a new retry policy based on the specified termination policy.
Creates a new retry policy based on the specified termination policy.
The termination policy that will be used by the new retry policy.
Creates a new retry policy that never terminates.
Provides an implicit extension of the retry policy interface.
Provides an implicit extension of the retry policy interface.
The retry policy to extend the interface of.
Creates a new default retry policy.
Creates a backoff policy selects another policy based on the most recently evaluated outcome.
Creates a backoff policy selects another policy based on the most recently evaluated outcome.
The function that maps from outcomes to backoff policies.
Returns the Fatal
error classification.
Provides an implicit extension of the termination policy interface.
Provides an implicit extension of the termination policy interface.
The termination policy to extend the interface of.
The
atmos.dsl
package defines a domain specific language for constructing and using retry policies.