Interface ReserveSlotFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ReserveSlotFunction
A function for reserving slots.
  • Method Summary

    Modifier and Type
    Method
    Description
    reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)
    Reserves the slot identified by the given allocation ID for the given resource profile.
  • Method Details

    • reserveSlot

      PhysicalSlot reserveSlot(AllocationID allocationId, ResourceProfile resourceProfile)
      Reserves the slot identified by the given allocation ID for the given resource profile.
      Parameters:
      allocationId - identifies the slot
      resourceProfile - resource profile the slot must be able to fulfill
      Returns:
      reserved slot