public final class RetryStrategies extends Object
RetryStrategies
.Modifier and Type | Class and Description |
---|---|
static class |
RetryStrategies.Builder
Builder for custom retry strategies.
|
Modifier and Type | Method and Description |
---|---|
static RetryStrategies.Builder |
custom()
Create a builder which can be used for setting up an arbitrarily complex
strategy.
|
static RetryStrategy |
indefinitely(long intervalMillis)
Create a strategy which will retry failed actions indefinitely and will
wait for a fixed amount of time between any two subsequent attempts.
|
static RetryStrategy |
never()
Create a strategy which will not retry a failed action.
|
public static RetryStrategy never()
public static RetryStrategy indefinitely(long intervalMillis)
public static RetryStrategies.Builder custom()
Copyright © 2021 Hazelcast, Inc.. All rights reserved.