public void freeSlot ( WorkerSlot slot ) { // remove the slot from the existing assignments for ( SchedulerAssignmentImpl assignment : this . assignments . values ( ) ) { if ( assignment . isSlotOccupied ( slot ) ) { assignment . unassignBySlot ( slot ) ; } } }
Free the specified slot .