public class BackoffConfigurationSupplier extends Object
BackoffConfiguration specific to the use case. Also, abstracts the BackoffConfiguration building
process from the Gateway.| Constructor and Description |
|---|
BackoffConfigurationSupplier() |
| Modifier and Type | Method and Description |
|---|---|
BackoffConfiguration |
forScheduleOnce(List<Integer> statusCodes,
boolean backoffEnabled)
Creates a
BackoffConfiguration that can be use to schedule until successful a BackoffRunnable. |
BackoffConfiguration |
forScheduling(List<Integer> statusCodes,
boolean backoffEnabled)
Creates a
BackoffConfiguration that can be use to schedule BackoffRunnables indefinitely. |
public BackoffConfiguration forScheduling(List<Integer> statusCodes, boolean backoffEnabled)
BackoffConfiguration that can be use to schedule BackoffRunnables indefinitely.statusCodes - List of status codes.backoffEnabled - Stating of the backoff is enabled.BackoffConfiguration.public BackoffConfiguration forScheduleOnce(List<Integer> statusCodes, boolean backoffEnabled)
BackoffConfiguration that can be use to schedule until successful a BackoffRunnable.statusCodes - List of status codes.backoffEnabled - Stating of the backoff is enabled.BackoffConfiguration.Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.