toggle menu
sdk-java
1.2.0
jvm
switch theme
search in API
sdk-common
/
dev.restate.sdk.common
/
RetryPolicy
Retry
Policy
class
RetryPolicy
Retry policy configuration.
Members
Properties
exponentiation
Factor
Link copied to clipboard
open
var
exponentiationFactor
:
Float
initial
Delay
Link copied to clipboard
open
var
initialDelay
:
Duration
max
Attempts
Link copied to clipboard
@
Nullable
@get:
Nullable
open
var
maxAttempts
:
@
Nullable
Integer
max
Delay
Link copied to clipboard
@
Nullable
@get:
Nullable
open
var
maxDelay
:
@
Nullable
Duration
max
Duration
Link copied to clipboard
@
Nullable
@get:
Nullable
open
var
maxDuration
:
@
Nullable
Duration
Functions
default
Policy
Link copied to clipboard
open
fun
defaultPolicy
(
)
:
RetryPolicy
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
exponential
Link copied to clipboard
open
fun
exponential
(
initialDelay
:
Duration
,
factor
:
Float
)
:
RetryPolicy
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
to
String
Link copied to clipboard
open
fun
toString
(
)
:
String