Interface IterationBudget
- All Superinterfaces:
Budget
- All Known Implementing Classes:
IterationBoundedBudget,IterationTimeBoundedBudget
A budget that limits the task execution to a given number of iterations
-
Method Summary
Modifier and TypeMethodDescriptionintThe current number of iterationsintThe maximum number of iterationsMethods inherited from interface org.apache.camel.support.task.budget.Budget
canContinue, elapsed, initialDelay, interval, next
-
Method Details
-
maxIterations
int maxIterations()The maximum number of iterations- Returns:
- the maximum number of iterations
-
iteration
int iteration()The current number of iterations- Returns:
- the current number of iterations
-