toggle menu
sdk-java
1.2.0
jvm
switch theme
search in API
sdk-api-kotlin
/
dev.restate.sdk.kotlin
/
RetryPolicy
/
Builder
Builder
data
class
Builder
(
var
initialDelay
:
Duration
=
100.milliseconds
,
var
exponentiationFactor
:
Float
=
2.0f
,
var
maxDelay
:
Duration
?
=
null
,
var
maxAttempts
:
Int
?
=
null
,
var
maxDuration
:
Duration
?
=
null
)
Members
Constructors
Builder
Link copied to clipboard
constructor
(
initialDelay
:
Duration
=
100.milliseconds
,
exponentiationFactor
:
Float
=
2.0f
,
maxDelay
:
Duration
?
=
null
,
maxAttempts
:
Int
?
=
null
,
maxDuration
:
Duration
?
=
null
)
Properties
exponentiation
Factor
Link copied to clipboard
var
exponentiationFactor
:
Float
initial
Delay
Link copied to clipboard
var
initialDelay
:
Duration
max
Attempts
Link copied to clipboard
var
maxAttempts
:
Int
?
max
Delay
Link copied to clipboard
var
maxDelay
:
Duration
?
max
Duration
Link copied to clipboard
var
maxDuration
:
Duration
?
Functions
build
Link copied to clipboard
fun
build
(
)
:
RetryPolicy