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 = defaultMaxAttempts) extends TerminationPolicy with Product with Serializable

    A termination policy that limits the number of attempts made.

    A termination policy that limits the number of attempts made.

    maxAttempts

    The maximum number of attempts that can be performed.

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

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

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

    maxDuration

    The maximum duration that a retry operation should not exceed.

  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.

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

    first

    The first of the two policies that must signal for termination.

    second

    The second of the two policies that must signal for termination.

  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.

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

    first

    The first of the two policies that may signal for termination.

    second

    The second of the two policies that may signal for termination.

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