public class IterationBoundedBudgetBuilder extends Object implements BudgetBuilder<IterationBudget>
| Modifier and Type | Field and Description |
|---|---|
protected BackOffStrategy |
backOffStrategy |
protected long |
initialDelay |
protected long |
interval |
protected int |
maxIterations |
| Constructor and Description |
|---|
IterationBoundedBudgetBuilder() |
| Modifier and Type | Method and Description |
|---|---|
IterationBoundedBudget |
build()
Build the budget
|
IterationBoundedBudgetBuilder |
withBackOffStrategy(BackOffStrategy backOffStrategy) |
IterationBoundedBudgetBuilder |
withInitialDelay(Duration duration) |
IterationBoundedBudgetBuilder |
withInterval(Duration duration) |
IterationBoundedBudgetBuilder |
withMaxIterations(int maxIterations) |
protected long initialDelay
protected long interval
protected int maxIterations
protected BackOffStrategy backOffStrategy
public IterationBoundedBudgetBuilder withInitialDelay(Duration duration)
public IterationBoundedBudgetBuilder withInterval(Duration duration)
public IterationBoundedBudgetBuilder withMaxIterations(int maxIterations)
public IterationBoundedBudgetBuilder withBackOffStrategy(BackOffStrategy backOffStrategy)
public IterationBoundedBudget build()
BudgetBuilderbuild in interface BudgetBuilder<IterationBudget>Apache Camel