java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<ContainerSchedulerEventType>
org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler.ContainerSchedulerEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<ContainerSchedulerEventType>
Direct Known Subclasses:
UpdateContainerSchedulerEvent

public class ContainerSchedulerEvent extends org.apache.hadoop.yarn.event.AbstractEvent<ContainerSchedulerEventType>
Events consumed by the ContainerScheduler.
  • Constructor Details

    • ContainerSchedulerEvent

      public ContainerSchedulerEvent(Container container, ContainerSchedulerEventType eventType)
      Create instance of Event.
      Parameters:
      container - Container.
      eventType - EventType.
  • Method Details

    • getContainer

      public Container getContainer()
      Get the container associated with the event.
      Returns:
      Container.