teststate
.
run
.
Retry
Policy
Related Docs:
object Policy
|
package Retry
final
case class
Policy
(
nextTry: (
Ctx
,
Instant
) ⇒
Option
[
Instant
]
)
extends
AnyVal
with
Product
with
Serializable
Instant Arg = current time Output = Time for which to schedule a retry
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
AnyVal
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
Policy
Serializable
Serializable
Product
Equals
AnyVal
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
Policy
(
nextTry: (
Ctx
,
Instant
) ⇒
Option
[
Instant
]
)
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
getClass
()
:
Class
[_ <:
AnyVal
]
Definition Classes
AnyVal → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
nextTry
: (
Ctx
,
Instant
) ⇒
Option
[
Instant
]
def
retry
[
F
[
_
]
,
A
]
(
scope:
Scope
,
task: ⇒
F
[
A
]
)
(
failed: (
A
) ⇒
Boolean
)
(
implicit
EM:
ExecutionModel
[
F
]
)
:
F
[
A
]
def
retryI
[
F
[
_
]
,
A
]
(
scope:
Scope
,
initialA:
A
)
(
failed: (
A
) ⇒
Boolean
,
retryF: ⇒
F
[
A
]
)
(
implicit
EM:
ExecutionModel
[
F
]
)
:
F
[
A
]
def
unsafeRetryOnException
[
A
]
(
scope:
Scope
,
first: ⇒
A
,
subsequent: ⇒
A
)
(
implicit
EM:
ExecutionModel
[
Id
]
)
:
A
def
unsafeRetryOnException
[
A
]
(
scope:
Scope
,
a: ⇒
A
)
(
implicit
EM:
ExecutionModel
[
Id
]
)
:
A
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
AnyVal
Inherited from
Any
Ungrouped
Instant Arg = current time Output = Time for which to schedule a retry