Package | Description |
---|---|
io.simplesource.saga.model.saga | |
io.simplesource.saga.saga.app |
Modifier and Type | Method and Description |
---|---|
static RetryStrategy |
RetryStrategy.failFast()
This strategy indicates no retries should be processed.
|
static RetryStrategy |
RetryStrategy.repeat(int numberOfRetries,
java.time.Duration delay)
This strategy retries a certain number of times, with a fixed delay between attempts.
|
Modifier and Type | Method and Description |
---|---|
SagaApp<A> |
SagaApp.withRetryStrategy(RetryStrategy strategy)
Sets the retry strategy that applies to all action types, unless specifically overridden
|
SagaApp<A> |
SagaApp.withRetryStrategy(String actionType,
RetryStrategy strategy)
Sets the retry strategy for a specific action type
|
Copyright © 2019. All rights reserved.