Interface TimeBudget

All Superinterfaces:
Budget
All Known Implementing Classes:
IterationTimeBoundedBudget, TimeBoundedBudget

public interface TimeBudget extends Budget
Defines a budget that limits the task execution to certain length of time
  • Method Details

    • maxDuration

      long maxDuration()
      The maximum length of time that the task can execute
      Returns:
      the length of time in milliseconds