Interface TimeBudget
- All Superinterfaces:
Budget
- All Known Implementing Classes:
IterationTimeBoundedBudget
,TimeBoundedBudget
Defines a budget that limits the task execution to certain length of time
-
Method Summary
Modifier and TypeMethodDescriptionlong
The maximum length of time that the task can executeMethods inherited from interface org.apache.camel.support.task.budget.Budget
canContinue, elapsed, initialDelay, interval, next
-
Method Details
-
maxDuration
long maxDuration()The maximum length of time that the task can execute- Returns:
- the length of time in milliseconds
-