public virtual void ContainerStarted(RMContainer container) { if (historyServiceEnabled) { dispatcher.GetEventHandler().Handle(new WritingContainerStartEvent(container.GetContainerId (), ContainerStartData.NewInstance(container.GetContainerId(), container.GetAllocatedResource (), container.GetAllocatedNode(), container.GetAllocatedPriority(), container.GetCreationTime ()))); } }
/// <exception cref="System.IO.IOException"/> protected internal virtual void WriteContainerStartData(ContainerId containerId) { store.ContainerStarted(ContainerStartData.NewInstance(containerId, Resource.NewInstance (0, 0), NodeId.NewInstance("localhost", 0), Priority.NewInstance(containerId.GetId ()), 0)); }