Class ResourceBudgetManager


  • public class ResourceBudgetManager
    extends Object
    Budget manager for ResourceProfile.

    For a given total resource budget, this class handles reserving and releasing resources from the budget, and rejects reservations if they cannot be satisfied by the remaining budget.

    Both the total budget and the reservations are in the form of ResourceProfile.