/** * Unregisters the task from the task manager profiler. * * @param taskManagerProfiler the task manager profiler */ public void unregisterProfiler(final TaskManagerProfiler taskManagerProfiler) { if (taskManagerProfiler != null) { taskManagerProfiler.unregisterExecutionListener(this.vertexID); } }
/** * Registers the task manager profiler with the task. * * @param taskManagerProfiler the task manager profiler * @param jobConfiguration the configuration attached to the job */ public void registerProfiler( final TaskManagerProfiler taskManagerProfiler, final Configuration jobConfiguration) { taskManagerProfiler.registerExecutionListener(this, jobConfiguration); }