Interface SlotActions
public interface SlotActions
Interface to trigger slot actions from within the
TaskSlotTable.-
Method Summary
Modifier and TypeMethodDescriptionvoidfreeSlot(AllocationID allocationId) Free the task slot with the given allocation id.voidtimeoutSlot(AllocationID allocationId, UUID ticket) Timeout the task slot for the given allocation id.
-
Method Details
-
freeSlot
Free the task slot with the given allocation id.- Parameters:
allocationId- to identify the slot to be freed
-
timeoutSlot
Timeout the task slot for the given allocation id. The timeout is identified by the given ticket to filter invalid timeouts out.- Parameters:
allocationId- identifying the task slot to be timed outticket- allowing to filter invalid timeouts out
-