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.
- Alphabetic
- By Inheritance
- ConnectionRetrySettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backoffFactor: Double
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- val connectTimeout: FiniteDuration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val initialRetry: FiniteDuration
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val maxBackoff: FiniteDuration
- val maxRetries: Int
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- ConnectionRetrySettings → AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
waitTime(retryNumber: Int): FiniteDuration
The wait time before the next attempt may be made.
-
def
withBackoffFactor(value: Double): ConnectionRetrySettings
Back-off factor for subsequent retries.
-
def
withConnectTimeout(value: Duration): ConnectionRetrySettings
Java API: Time allowed to establish and start a connection.
-
def
withConnectTimeout(value: FiniteDuration): ConnectionRetrySettings
Time allowed to establish and start a connection.
-
def
withInfiniteRetries(): ConnectionRetrySettings
Do not limit the number of retries.
-
def
withInitialRetry(value: Duration): ConnectionRetrySettings
Java API: Wait time before retrying the first time.
-
def
withInitialRetry(value: FiniteDuration): ConnectionRetrySettings
Wait time before retrying the first time.
-
def
withMaxBackoff(value: Duration): ConnectionRetrySettings
Java API: Maximum back-off time allowed, after which all retries will happen after this delay.
-
def
withMaxBackoff(value: FiniteDuration): ConnectionRetrySettings
Maximum back-off time allowed, after which all retries will happen after this delay.
-
def
withMaxRetries(value: Int): ConnectionRetrySettings
Maximum number of retries allowed.