public virtual void ContainerFinished(RMContainer container) { if (historyServiceEnabled) { dispatcher.GetEventHandler().Handle(new WritingContainerFinishEvent(container.GetContainerId (), ContainerFinishData.NewInstance(container.GetContainerId(), container.GetFinishTime (), container.GetDiagnosticsInfo(), container.GetContainerExitStatus(), container .GetContainerState()))); } }
/// <exception cref="System.IO.IOException"/> protected internal virtual void WriteContainerFinishData(ContainerId containerId) { store.ContainerFinished(ContainerFinishData.NewInstance(containerId, 0, containerId .ToString(), 0, ContainerState.Complete)); }