docs: public SimpleSlot getSlotForTask(JobVertexID vertexID, Iterable<TaskManagerLocation> locationPreferences) {
  		synchronized (lock) {
  			Tuple2<SharedSlot, Locality> p = getSharedSlotForTask(vertexID, locationPreferences, false);
  
  			if (p != null) {
  				SharedSlot ss = p.f0;
  				SimpleSlot slot = ss.allocateSubSlot(vertexID);
  				slot.setLocality(p.f1);
  				return slot;
  			}
  			else {
  				return null;
  			}
  		}
  	}