Package

s_mach.concurrent

config

Permalink

package config

Visibility
  1. Public
  2. All

Type Members

  1. trait AbstractAsyncConfigBuilder[MDT <: AbstractAsyncConfigBuilder[MDT]] extends OptProgressConfigBuilder[MDT] with OptRetryConfigBuilder[MDT] with OptThrottleConfigBuilder[MDT] with AsyncConfig

    Permalink

    A base trait for an immutable AsyncConfig builder that allows configuring optional progress reporting, failure retry and throttling.

    A base trait for an immutable AsyncConfig builder that allows configuring optional progress reporting, failure retry and throttling.

    MDT

    most derived type

  2. trait AsyncConfig extends OptProgressConfig with OptRetryConfig with OptThrottleConfig

    Permalink

    A trait for an asynchronous task configuration that allows configuring the number of parallel workers used to process the task, optional progress reporting, failure retry and throttling.

  3. case class AsyncConfigBuilder(workerCount: Int = 1, optProgress: Option[ProgressConfig] = None, optRetry: Option[RetryConfig] = None, optThrottle: Option[ThrottleConfig] = None) extends AbstractAsyncConfigBuilder[AsyncConfigBuilder] with Product with Serializable

    Permalink

    A case class for an immutable AsyncConfig builder

    A case class for an immutable AsyncConfig builder

    workerCount

    number of parallel workers to use during task

    optProgress

    optional progress reporting settings

    optRetry

    optional failure retry settings

    optThrottle

    optional throttle setting

  4. trait OptProgressConfig extends AnyRef

    Permalink

    A trait for configuring optional progress reporting

  5. trait OptProgressConfigBuilder[MDT <: OptProgressConfigBuilder[MDT]] extends AnyRef

    Permalink

    A trait for an immutable builder of OptProgressConfig.

    A trait for an immutable builder of OptProgressConfig. Callers may set the optional progress reporter by calling one of the progress methods. If no progress reporting method is ever called then the optional progress function is left unset.

    MDT

    most derived type

  6. trait OptRetryConfig extends AnyRef

    Permalink

    A trait for configuring optional failure retry

  7. trait OptRetryConfigBuilder[MDT <: OptRetryConfigBuilder[MDT]] extends AnyRef

    Permalink

    A trait for an immutable builder of OptRetryConfig.

    A trait for an immutable builder of OptRetryConfig. Callers may set the optional retryDecider by calling the retryDecider method. If the retryDecider method is never called then the optional retry function is left unset.

    MDT

    most derived type

  8. trait OptThrottleConfig extends AnyRef

    Permalink

    A trait for configuring optional throttling

  9. trait OptThrottleConfigBuilder[MDT <: OptThrottleConfigBuilder[MDT]] extends AnyRef

    Permalink

    A trait for an immutable builder of OptThrottleConfig.

    A trait for an immutable builder of OptThrottleConfig. Callers may set the optional throttle period by calling the throttle_ns method. If the throttle method is never called then the optional throttle period is left unset.

    MDT

    most derived type

  10. trait ProgressConfig extends AnyRef

    Permalink

    A trait that configures progress reporting

  11. trait RetryConfig extends AnyRef

    Permalink

    A trait that configures failure retry

  12. trait ThrottleConfig extends AnyRef

    Permalink

    A trait for configuring throttling

Value Members

  1. object AsyncConfig

    Permalink
  2. object ProgressConfig

    Permalink
  3. object RetryConfig

    Permalink
  4. object ThrottleConfig

    Permalink

Ungrouped