final class ConnectionRetrySettings extends AnyRef

When a connection to a broker cannot be established and errors out, or is timing out being established or started, the connection can be retried. All JMS publishers, consumers, and browsers are configured with connection retry settings.

Source
ConnectionRetrySettings.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConnectionRetrySettings
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. val backoffFactor: Double
  2. val connectTimeout: FiniteDuration
  3. val initialRetry: FiniteDuration
  4. val maxBackoff: FiniteDuration
  5. val maxRetries: Int
  6. def toString(): String
    Definition Classes
    ConnectionRetrySettings → AnyRef → Any
  7. def waitTime(retryNumber: Int): FiniteDuration

    The wait time before the next attempt may be made.

  8. def withBackoffFactor(factor: Double): ConnectionRetrySettings

    Back-off factor for subsequent retries.

  9. def withConnectTimeout(timeout: Duration): ConnectionRetrySettings

    Java API: Time allowed to establish and start a connection.

  10. def withConnectTimeout(timeout: FiniteDuration): ConnectionRetrySettings

    Time allowed to establish and start a connection.

  11. def withInfiniteRetries(): ConnectionRetrySettings

    Do not limit the number of retries.

  12. def withInitialRetry(timeout: Duration): ConnectionRetrySettings

    Java API: Wait time before retrying the first time.

  13. def withInitialRetry(timeout: FiniteDuration): ConnectionRetrySettings

    Wait time before retrying the first time.

  14. def withMaxBackoff(backoffTime: Duration): ConnectionRetrySettings

    Java API: Maximum back-off time allowed, after which all retries will happen after this delay.

  15. def withMaxBackoff(backoffTime: FiniteDuration): ConnectionRetrySettings

    Maximum back-off time allowed, after which all retries will happen after this delay.

  16. def withMaxRetries(value: Int): ConnectionRetrySettings

    Maximum number of retries allowed.