toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-base
/
com.mapbox.dash.sdk.base.retry
/
RetryOptions
Retry
Options
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
RetryOptions
(
val
retryCount
:
Long
=
INFINITE_RETRIES
,
val
initialDelayMs
:
Long
=
1000
,
val
useExponentialBackoff
:
Boolean
=
false
,
val
maxDelayMs
:
Long
=
TimeUnit.MINUTES.toMillis(1)
)
Members
Constructors
Retry
Options
Link copied to clipboard
constructor
(
retryCount
:
Long
=
INFINITE_RETRIES
,
initialDelayMs
:
Long
=
1000
,
useExponentialBackoff
:
Boolean
=
false
,
maxDelayMs
:
Long
=
TimeUnit.MINUTES.toMillis(1)
)
Properties
initial
Delay
Ms
Link copied to clipboard
val
initialDelayMs
:
Long
=
1000
max
Delay
Ms
Link copied to clipboard
val
maxDelayMs
:
Long
retry
Count
Link copied to clipboard
val
retryCount
:
Long
use
Exponential
Backoff
Link copied to clipboard
val
useExponentialBackoff
:
Boolean
=
false