Interface SlotActions
-
public interface SlotActionsInterface to trigger slot actions from within theTaskSlotTable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfreeSlot(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 Detail
-
freeSlot
void freeSlot(AllocationID allocationId)
Free the task slot with the given allocation id.- Parameters:
allocationId- to identify the slot to be freed
-
timeoutSlot
void timeoutSlot(AllocationID allocationId, UUID ticket)
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
-
-