final VertexEvent vertexEvent = new VertexEvent(timestamp, jobVertexID, taskName, totalNumberOfSubtasks,
indexInSubtaskGroup, newExecutionState, optionalMessage);
this.eventCollector.addEvent(jobID, vertexEvent);
final ExecutionStateChangeEvent executionStateChangeEvent = new ExecutionStateChangeEvent(timestamp,
vertexID.toManagementVertexID(), newExecutionState);
this.eventCollector.updateManagementGraph(jobID, executionStateChangeEvent, optionalMessage);
this.eventCollector.addEvent(jobID, executionStateChangeEvent);
}