public final class Budgets extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Budgets.TimeBoundedBudgetBuilder
A helper builder of time bounded builders.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
atLeastOnce(int iterations)
Some components use 0 to disable retrying the task.
|
static IterationBoundedBudgetBuilder |
iterationBudget() |
static IterationTimeBoundedBudgetBuilder |
iterationTimeBudget() |
static Budgets.TimeBoundedBudgetBuilder |
timeBudget() |
public static Budgets.TimeBoundedBudgetBuilder timeBudget()
public static IterationBoundedBudgetBuilder iterationBudget()
public static IterationTimeBoundedBudgetBuilder iterationTimeBudget()
public static int atLeastOnce(int iterations)
iterations - the number of iterationsApache Camel