atmos

termination

package termination

The atmos.termination package provides common implementations of the atmos.TerminationPolicy trait.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. termination
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class LimitAttempts(maxAttempts: Int = ...) extends TerminationPolicy with Product with Serializable

    A termination policy that limits the number of attempts made.

  2. case class LimitDuration(maxDuration: FiniteDuration = ...) extends TerminationPolicy with Product with Serializable

    A termination policy that limits the amount of time spent retrying.

  3. case class RequireBoth(first: TerminationPolicy, second: TerminationPolicy) extends TerminationPolicy with Product with Serializable

    A termination policy that signals for termination after both of the specified policies terminate.

  4. case class RequireEither(first: TerminationPolicy, second: TerminationPolicy) extends TerminationPolicy with Product with Serializable

    A termination policy that signals for termination after either of the specified policies terminate.

Value Members

  1. object AlwaysTerminate extends TerminationPolicy with Product with Serializable

    A termination policy that always signals for termination.

  2. object NeverTerminate extends TerminationPolicy with Product with Serializable

    A termination policy that never signals for termination.

  3. val defaultMaxAttempts: Int

    The default maximum number of attempts that can be performed.

  4. val defaultMaxDuration: FiniteDuration

    The default maximum duration that a retry operation should not exceed.

Inherited from AnyRef

Inherited from Any

Ungrouped