public static class BackoffConfiguration.Builder extends Object
| Constructor and Description |
|---|
Builder(boolean backoffEnabled) |
| Modifier and Type | Method and Description |
|---|---|
BackoffConfiguration.Builder |
backoff(double base,
double multiplier,
double dispersion,
int steps) |
BackoffConfiguration.Builder |
backoff(double base,
double multiplier,
int steps,
Function<Double,Double> dispersant) |
BackoffConfiguration.Builder |
backon(double base,
double multiplier,
double dispersion,
int steps) |
BackoffConfiguration.Builder |
backon(double base,
double multiplier,
int steps,
Function<Double,Double> dispersant) |
BackoffConfiguration |
build() |
BackoffConfiguration.Builder |
failurePercentage(double failurePercentage) |
BackoffConfiguration.Builder |
fastRecovery() |
BackoffConfiguration.Builder |
statusCodes(Integer... statusCodes) |
BackoffConfiguration.Builder |
statusCodes(List<Integer> statusCodes) |
public BackoffConfiguration.Builder backoff(double base, double multiplier, int steps, Function<Double,Double> dispersant)
public BackoffConfiguration.Builder backoff(double base, double multiplier, double dispersion, int steps)
public BackoffConfiguration.Builder backon(double base, double multiplier, int steps, Function<Double,Double> dispersant)
public BackoffConfiguration.Builder backon(double base, double multiplier, double dispersion, int steps)
public BackoffConfiguration.Builder statusCodes(List<Integer> statusCodes)
public BackoffConfiguration.Builder statusCodes(Integer... statusCodes)
public BackoffConfiguration.Builder failurePercentage(double failurePercentage)
public BackoffConfiguration.Builder fastRecovery()
public BackoffConfiguration build()
Copyright © 2014–2021 MuleSoft, Inc.. All rights reserved.