public boolean reportSlotStatus ( InstanceID instanceId , SlotReport slotReport ) { checkInit ( ) ; LOG . debug ( "Received slot report from instance {}: {}." , instanceId , slotReport ) ; TaskManagerRegistration taskManagerRegistration = taskManagerRegistrations . get ( instanceId ) ; if ( null != taskManagerRegistration ) { for ( SlotStatus slotStatus : slotReport ) { updateSlot ( slotStatus . getSlotID ( ) , slotStatus . getAllocationID ( ) , slotStatus . getJobID ( ) ) ; } return true ; } else { LOG . debug ( "Received slot report for unknown task manager with instance id {}. Ignoring this report." , instanceId ) ; return false ; } }
Reports the current slot allocations for a task manager identified by the given instance id .