Package | Description |
---|---|
org.axonframework.commandhandling.gateway |
Modifier and Type | Method and Description |
---|---|
static IntervalRetryScheduler.Builder |
IntervalRetryScheduler.builder()
Instantiate a Builder to be able to create a
IntervalRetryScheduler . |
IntervalRetryScheduler.Builder |
IntervalRetryScheduler.Builder.maxRetryCount(int maxRetryCount)
Sets the maximum number of retries allowed for a single command, defaulted to 1.
|
IntervalRetryScheduler.Builder |
IntervalRetryScheduler.Builder.retryExecutor(ScheduledExecutorService retryExecutor)
Sets the
ScheduledExecutorService used to schedule a command retry. |
IntervalRetryScheduler.Builder |
IntervalRetryScheduler.Builder.retryInterval(int retryInterval)
Sets the retry interval in milliseconds at which to schedule a retry, defaulted to 100ms.
|
Constructor and Description |
---|
IntervalRetryScheduler(IntervalRetryScheduler.Builder builder)
Instantiate a
IntervalRetryScheduler based on the fields contained in the IntervalRetryScheduler.Builder . |
Copyright © 2010–2019. All rights reserved.